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

I am attempting to direct a top level domain to a site hosted by Github pages.

The documentation can be found here but it is unclear to me what to set the Host to in my A record.

And on that note, what is the functional purpose of the Host within a record?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The Host Record is the same thing as an A Record. The A Record (Host Record) allows you to point different "hosts" on your domain to different IP addresses.

I.e

example.com               A     101.1.1.1
server1.example.com       A     101.1.1.2
server2.example.com       A     101.1.1.3

So, in other words, the A record just allows you to setup different IP addresses to different subdomains on your parent domain.

share|improve this answer

You would just point

domain.com -> 204.232.175.78
www.domain.com -> 204.232.175.78

both of those owuld be A records in your dns tool.

or you can do

www.domain.com -> domain.com 

with a CNAME alias

share|improve this answer
    
so domain.com is what I set as my Host? –  rudolph9 Aug 28 '12 at 21:16
    
ya.. host can be anything.. you might want to move domain.com or code.domain.com –  Mike Aug 28 '12 at 21:18

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.