Domain registration.
Domain registration.
I have a domain, I wish to attach it to my server. Never done this before since Ive never put out the cash for the real name. Can anyone tell me step by step how to do it?
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
yep, have to be done in your domain control panel, there are 2 ways depending on the registrar and account type:
- setting the A-Name
if you can set the A-Name all you have to do is to enter the server IP there
- set the DNS servers
if no A-Name record is available you have to set the DNS servers, of course the domain have to be added to the DNS servers first. if you have an own server box that runs DNS (bind for example) you can set it there, else you have to make a specialized company do that for you...I offer DNS service for 6 euro/year for example.
as last step you have to add the new domain name to your server settings, in most cases as virtual host:
- setting the A-Name
if you can set the A-Name all you have to do is to enter the server IP there
- set the DNS servers
if no A-Name record is available you have to set the DNS servers, of course the domain have to be added to the DNS servers first. if you have an own server box that runs DNS (bind for example) you can set it there, else you have to make a specialized company do that for you...I offer DNS service for 6 euro/year for example.
as last step you have to add the new domain name to your server settings, in most cases as virtual host:
Code: Select all
<VirtualHost my.ip.add.ress>
ServerName www.mydomain1.com
ServerPath /mydomain1.com
DocumentRoot /var/www/localhost/htdocs
</VirtualHost>