Solved

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

Posted on 2010-11-24
3
302 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET MVC site showing code blocks 3 66
Add Server Certificate in IIS from C# 6 105
How to trouble shoot .net contact form 3 39
Determine Server Specs for IIS.7 Website 4 35
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

19 Experts available now in Live!

Get 1:1 Help Now