How To Add Domain In Webmin

RegisterLogin
How To Add Domain In Webmin
Post Description: adding domain names virtual hosts is easy, This Page Will Show You How You Can Add A Domain In Webmin Using The Control Panel
Tags: How, To, Add, Domain, In, Webmin
This Post Was Posted On Jan 02, 2010 By Webune Tutorials #2801
Hello,

Welcome to Webune Support Forums.

If you purchased a dedicated server from Webune. You can install an Open Source Domain Name Control panel for free, its called webmin,

Webune Dedicated Servers are Reliable -

to add a domain name to you server this is the procedure:

1. login to your webmin panel:
26p-2801-webmin-login.gif

2. click on Servers then BIND DNS Serve
26p-2801-webmin-menu.gif

NOTE: if you get: The primary configuration file for BIND /var/named/chroot/etc/named.conf does not exist, or is not valid. Create it? - select 'Setup as an internet name server, and download root server information' and then go ahead a click the 'Create Primary Configuartion File and Start Nameserver' button. Once you have clicked on the button, you will see the icons.

3. under 'Existing DNS Zones' click on 'Create master zone.' and populate the following fields:

- Zone type [ Forward ]
- Domain name / Network [ Enter Domain Name you wan to add ]
- Records file [Automatic]
- Master server [you server's host name]
- Email address [admin's email address]
- Use zone template? [No]
- IP Address for template records // Provide the host's IP Address
- Add reverses for template addresses? [yes]
- Refresh time [Leave as is]
- Expiry time [Leave as is]

26p-2801-webmin-bind.gif

Click: [Create] Button after you have populated each field

4. When you click on 'Create' button, it will create your zone and it will direct you to 'Edit Master Zone' page. In the 'Edit Master Zone' page, click on the 'Address(0)' button:
26p-2801-webmin-address.gif

5. in the 'Address Records' page, populate the following:

- Name [www]
- Address [Server's Ip Address]
- Time-To-Live [Default]
- Update reverse? [yes]
26p-2801-webmin-record.gif

- Click 'Create'

after you created the address record, click on 'Return to record types' link at the bottom

- At the top menu you will a link that says 'Apply Configuration' click on it to apply the changes you have made.

6. Now that we have added your domain name to your DNS server, its time to create a virtual host in your Apache server so in the Servers category, click on 'Apache Webserver' link
26p-2801-webmin-menu.gif

7. When you are in the 'Apache Webserver' section, click on the 'Create Virtual Host' tab
26p-2801-webmin-apache.gif

8. Populate the following fields:
- Handle connections to address [select: Specific Address... [enter the server's ip address]]

- Port [here you can select Default, Any or specify one. what i did, i specified port 80, so i entered 80]

- Document Root [here i specified which directory i was going to have this domain's files for this site. so i entered /var/www/html/mydomain but you can enter whatever directory you want to put your web files, its your choice]

- Server Name [i entered my domain name like this: www.mydomain.com:80 [i included the :80 part also]]

- Add virtual server to file [leave default as Standard httpd.conf file]

- Copy directives from [leave default: Nowhere]

26p-2801-webmin-virtual.gif


9. After you have created the virtual host, you need to save the changes. there is a link "Apply Changes" click on it.


10. Thats it, now you can test it by accessing your new website: http://www.example.com

Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
Dan
#9644 1
How do i add more domains?
Apr 14, 2012 Reply Report abuse
yones
#9613 2
thanks, very well post.
Mar 31, 2012 Reply Report abuse
corrosion
#9352 3
All that did was kill ALL the sites on my server with an apache page
Jan 12, 2012 Reply Report abuse
Lou
#5272 4
thanks for the information, it really helped
Jun 18, 2011 Reply Report abuse
sadvel
#4840 5
thanks fo this awesome tutorials.
Feb 16, 2011 Reply Report abuse
Matt
#4682 6
worked perfectly, thanks for this accurate guide.

mypcmates
Dec 09, 2010 Reply Report abuse
Alan
#4613 7
thanks for the article, i'll be referring to this when setting up my dedicated server
Nov 12, 2010 Reply Report abuse
friendster
#3290 8
ip addresses of friendster needs to be add on host file help me????
Jan 20, 2010 Reply Report abuse
charlie
#3072 9
can you show step by step how to link my domain webmin?
Dec 21, 2009 Reply Report abuse
charlie
#3071 10
can you show step by step how to link my domain webmin?
Dec 21, 2009 Reply Report abuse
Leave Your Comments...
©2012 Webune Forums - Sat Apr 14, 2012 10:25 pm
Powered by: Webune Forums V3