Forum Moderators: open

Message Too Old, No Replies

sub domain help

         

thespazz

5:13 am on Jun 26, 2003 (gmt 0)

10+ Year Member



Hello, I am starting a webserver for my site, and a few friends sites, I purchased a server new, and am getting a cable internet connection. One of the question I havnt been able to answer so far is how do I host sub domains, such as example.example.com. I am using IIS 6.0. I am not that new to web development, I am puting the finishing touches on my 5th personal website, but I am verry new to web hosting. Thanks for your help

Xoc

7:03 am on Jun 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, thespazz!

To host more than one site, which includes third level domains, you need a server edition of windows. Windows 2000 server, or Windows 2003 server. These allow you to host as many sites as you want. The professional versions of Windows only allow you to host one site.

thespazz

7:31 am on Jun 26, 2003 (gmt 0)

10+ Year Member



I am running the evaulation of '03 enterprise edition, how do I set this up?

sharbel

7:14 pm on Jun 26, 2003 (gmt 0)

10+ Year Member



In the IIS MMC create a new web-site, point to the directory that it resides in etc, then click the Advanced button on the Web Site tab. In II6 it will say something about multiple identities, click add, then put the internal IP of your server, port(80 usually), then the host header. The host-header is the sub-domain name.. so you can have example.example.com.. or example2.example.com.

thespazz

2:45 am on Jun 29, 2003 (gmt 0)

10+ Year Member



I havnt registered my domain name yet, is there a way to test if it is working based on the IP address or the computer name?

mattglet

5:21 pm on Jun 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



no, there is not a way to test it without your domain name. you must register your domain name, point the domain to your dns servers, and then try it.

-Matt

Xoc

12:33 am on Jun 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes there is. Edit the hosts file, c:\winnt\system32\drivers\etc\hosts. Add a line:

127.0.0.1 www.domain.com

Take it out after dns is working. 127.0.0.1 is the loopback address, meaning go to the local machine. If you have it on a different machine, place the IP address of the other machine there.