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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you assign 1 public IP to 2 different sub domains?

Status
Not open for further replies.

ScottWIT

IS-IT--Management
May 22, 2007
145
US
I currently have a public IP address assigned to a sub domain of ours (abc.ourdomain.com) and want to create a different sub domain (123.ourdomain.com) with the same public IP address. Both sub domains would point to the same server but on different ports of course. Is this possible? Will my ISP allow it?

 
You would use DNS to forward requests for the different subdomain to the same IP by setting up (A) records to point to the appropriate IP of the names you want to implement.

test.domain.com = 10.0.0.1

test123.domain.com = 10.0.0.1

... are you looking to use Host Headers or something to host multiple web sites on a single server? The port traffic would then be handled by your web server based on Header information. (Just a shot in the dark at what youre trying to accomplish) :)

HTH

Cory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top