How to create a website on SBS2003 that is a sub of a different domain

Hi,

I'm using SBS2003 as a website development server.

I create new sites using the built in wizard and enter dev.domain.com in the host header field with a corresponding entry in the clients DNS so clients can see work in progress. This all works ok untill I was asked to build a site that is a sub domain of a clients exsiting site.

I created a site using the wizard and entered sub.domain.com in the host header field along with a corresponding DNS entry but when I browse the site I get a 404 error message.

The new sub domain site is physically located one level down from the main site folder site.

Any idea's what I've done wrong?

Cheers
David
DavidBurchettAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
WebDOTConnect With a Mentor Commented:
Create a new website on the server.  Assign it a host header, and point it's home directory to the folder you are using.  If it's "one level down" from the main site, it will be site.tld/sub.  If you create a new website and use host headers it will be sub.domain.com.
0
 
DavidBurchettAuthor Commented:
Hi WebDOT

No luck I'm afraid, it's really odd that this one site is playing up all the others are fine and the only difference is that it has a sub domain name pointing to it.

I've moved the site to a top level folder so it's now at C:\Inetpub\wwwroot\rockcafe
The host header for the site is cafe.therock.co.nz
The "A" record is www.cafe.therock.co.nz and points to my servers IP address

Does this info help at all?

Cheers
David
0
 
DavidBurchettAuthor Commented:
It was the "A" record that was at fault so your original answer was correct. Thanks.
0
All Courses

From novice to tech pro — start learning today.