Solved

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

Posted on 2010-11-24
3
315 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:DavidBurchett
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
WebDOT earned 250 total points
ID: 34207494
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
 

Author Comment

by:DavidBurchett
ID: 34212067
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
 

Author Comment

by:DavidBurchett
ID: 35959286
It was the "A" record that was at fault so your original answer was correct. Thanks.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question