Adding Domains in Webmin Control Panel

Webmin can be kind of intimidating at first, and there’s definitely a learning curve. But the meticulousness of it really comes from the fact that most other control panels unify into one interface what Webmin does in the hopping through several different pages. However, with this little guide, you should have no trouble at all adding domains to your dedicated server through the Webmin control panel. (Rackspace Hosting uses Webmin by default on the dedicated servers they provide.)

Once you are logged into your Webmin control panel, follow these steps:

  • Navigate to Servers » BIND DNS Server
  • On the BIND DNS Server page, click on the Create Master Zone link
  • Under New master zone options, fill these fields in before clicking Create:
    • Domain name / Network » YOURDOMAIN.COM
    • Email address » YOU@YOURDOMAIN.COM (Webmaster Email)
    • IP address for template records » Server IP
  • On the Edit Master Zone page you are redirected to, click the Address icon
  • Under Add Address Record, fill these fields in before clicking Create:
    • Name » www
    • Address » Server IP
  • After the record has been created, click on the Return to record types link towards the bottom
  • Now all that is left to do is add a Virtual Host in Apache for the new domain. Click on the Apache Webserver icon to proceed
  • Click on the Create virtual host tab on the Apache Webserver page
  • Under Create a New Virtual Server, fill in these fields before clicking on the Create Now button
    • Handle connections to address » Specific address .. Server IP
    • Port » 80
    • Document Root » /var/www/yourdomain.com
    • Server Name » yourdomain.com
    • Add virtual server to file » Standard httpd.conf file
    • Copy directives from » Nowhere
  • Click on the Apply Changes link to commit the new domain settings

Now, just make sure your domain name is pointed at your new server’s IP address from your registrar’s domain administration panel, and you’re all set!

Leave a Reply