Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got a domain name that is managed through 000Domains.com. I also have a virtual dedicated server hosted with GoDaddy.com. Within my VDS, I created a folder /mysite and placed all of my website files there. I can test this through the ipaddress of my VDS, but I would now like to point my domain from 000Domains over to my sub-directory hosted on GoDaddy. How do I do this? Do I need to make any specific modifications to my VDS to inform it that one of the directories will be accessible from a domain name?

I have access to Simple Control Panel, if that is of any relevance.

Update

I've used the [domains] portion of my Simple Control Panel to add my domain (mysite.com). Now it lists that domain name, and even gives me a nameserver for it, ns1.mysite.com. Still I know I need to some how point my hosted domain from 000Domains over to this Virtual Server. I'm not entirely sure how to do that though.

Update 2

Since adding the domain to my VDS (see Update 1), my ipaddress to the VDS goes directly to the directory that the server made for the domain. It made a directory other than the one I had been working in, but that's fine. When I added the domain name, I set it as a Master, so now the ipaddress for the server goes directly to that document root for this particular project. I have changed the A name on my domain registration to point to my VDS's ipaddress. It's been a few hours and it doesn't appear to be loading from the VDS yet.

Update 3

Well it's been several hours since I changed the A Name to the new VDS's ipaddress. Nothing yet has happened. The domain name with 000Domains still goes to the old server, and accessing the ipaddress of the VDS directly takes me to the new server.

When I changed the A Name on 000Domains.com, I was told that I must disable forwarding on the domain if the A Name were to function properly. I now have "disable forwarding" and "pass subdirectories" checked, but again, it's been around 12-15 hours with no hint of a change.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No special configuration is necessary. Just enter the IP of your VPS as the 'A' record for your domain.

share|improve this answer
    
I would enter the ipaddress/directory to make it point to a specific directory, right? I can see that I can add domains from within Simple Control Panel - is that only helpful if I'm hosting sites for other people? –  Jonathan Sampson May 29 '10 at 20:22
    
Oh sorry, I'm with you now. No, on the A record for your domain you put the IP address of your server. Nothing else. But on the web server itself, you need to configure 'host header redirection' to tell it that when a client connects via www.yourdomainname.com, point them to the subdirectory in question. The method for doing this depends on the web server software (e.g. Apache or IIS) –  Chris Thorpe May 30 '10 at 6:49
    
I'm using Apache on the server. –  Jonathan Sampson May 30 '10 at 12:42
    
Related to the Solution: I had to provide the original 000Domains name-servers on the domain rather than the GoDaddy name-servers that I had to begin with. –  Jonathan Sampson Jun 1 '10 at 13:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.