Solved

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

Posted on 2010-11-24
3
290 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
Comment Utility
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
Comment Utility
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
Comment Utility
It was the "A" record that was at fault so your original answer was correct. Thanks.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now