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 have a main domain registered and hosted with Godaddy. Let's call it example.com

I'd like to point the subdomain foo.example.com to a server I have with Dreamhost. It's in my understanding I have to set up an A Record to point to the IP address of the Dreamhost server.

How do I find out that IP address?

Thanks!

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

In your domains list on Dreamhost, there is a 'DNS' link just below each [domain] that you have. This links to a page that displays Non-editable DreamHost DNS records for [domain]. Use the A record from there.

share|improve this answer
    
You can also run 'dig mysubdomain.example.com @ns1.dreamhost.com' from a Linux command shell. Oh and also, you could just set the Dreamhost nameservers to be responsible for that subdomain by adding the correct ns records (subdomain.example.com IN NS ns1.dreamhost.com) - that way you avoid the problems caused by Dreamhost changing your ip address. –  kaerast Mar 25 '10 at 13:51
add comment

Useless.

Dont get me wrong - this is actually trivial ("ping yourdomain.com" will show you).

But pointing your subdomain IN A record to this wont help... ...until you register the subdomain with Dreamhost in their control panel somewhere. Because their web server only forwards those request to you that match your domains.

Reason? Having many websites on one ip address - which is standard and required for shared hosting providers. Make sure you have that under control.

Then, basically open a command line and type

Ping Wahteveryourdomain.com

(like: ping www.servervault.com)

and you see the IP address.

share|improve this answer
    
I think I might need to clarify my question. My domain is hosted by Godaddy. The main site files are hosted at Godaddy. I need to create an A record at Godaddy to point to the Dreamhost servers. How do I find out the IP for the Dreamhost server? Thanks –  yuval Mar 10 '10 at 7:24
    
Ask dreamhost support ;) –  TomTom Mar 10 '10 at 7:58
add 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.