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 currently own a domain name mydomain.com at goDaddy and I have a web server (at thePlanet) mydomain.com which serve a website from www.mydomain.com and mydomain.com with Apache. I now have a new server in an other hosting company and I would like to access this server with sandbox.mydomain.com and serve a website from sandbox.mydomain.com.

How can I do that?

Thanks!

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes, you need to create an A record in your DNS server for sandbox.mydomain.com pointing to the IP address of your new server.

share|improve this answer
    
+1 Beat my 2 seconds. :( –  Diago Feb 19 '10 at 10:19
    
Do I need to do something with goDaddy? When you say DNS server, you say DNS server of the new hosting company? –  benjisail Feb 19 '10 at 10:21
    
@nejisail. You need to do this via your goDaddy control panel since they store your DNS settings. You have only one DNS service for your complete domain. You can find out how with goDaddy by looking at their help guide with regard to DNS here: help.godaddy.com/article/681 –  Diago Feb 19 '10 at 10:23
    
It seems that my DNS settings are manage in ThePlanet. Is it possible? –  benjisail Feb 19 '10 at 10:35
    
do 'dig -t ns mydomain.com' and you'll see what nameservers you are using and hopefully that will tell you where you need to modify the dns. As well as adding this dns record, you'll also need to ensure the new host is configured to respond to sandbox.mydomain.com. –  kaerast Feb 19 '10 at 11:16
show 1 more comment

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.