Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Host headers, single IP, DNS 1

Status
Not open for further replies.

Cstorms

IS-IT--Management
Sep 29, 2006
556
US
So in theory would I be able to do something like this...

register names at something like GoDaddy, host my own dns server (or just use theirs I spose) and for a host header put <sitename>, and not have any record, I guess I am not sure if you can just use same as parent and point that at your single IP.

I am assuming this is possible but I have never done it, anyone implemented something like this?

Cory
 
The IIS server will host multiple host headers. You can use "mydomain.com" and " for the same site.

You can use "www" as it is a host (A) record for "mydomain.com" - Just as "Computer1.mydomain.com" is a host record.

If you don't already have an external DNS server and have never set up one, it's easier to just use a hosting company. The will create a "mydomain.com" Zone and add the "www" host name, both entries pointing to your public IP Address. The hosting company would also be able to create MX records for your mail system.

Jesse Hamrick
 
Thanks for the reply, I have used host headers in the past for single IP solutions when I was hosting a single domain name and my own dns server, but my final solution in this particular scenario is to setup something like..

I already have 2 domain names registered with GoDaddy, and was just thinking about using their DNS in something along these lines (if not I will setup my own dns for the zones)


<sitetwo>.com

and use host headers with entries along the lines of the one site and <sitetwo> for the other, I figure this would work fine and dandy in concept. Pretty much its the lack of ip's that I will have.

If this would work (assuming it does) is it possible to navigate host headers 2 levels deep? Such as,
Probably not but I was just hoping :) Thanks again for the reply.

p.s. this isnt for anything super important for all those who are saying this may be something I shouldnt do :)

Cory
 
Thanks for the clarification, much appreciated.

Cory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top