Need help with setting up a subdomain

Posted on 2006-11-27
Medium Priority
Last Modified: 2010-04-13
I need to know how to get a sub domain to work properly.  

A little background:  

I have a server which is windows server 2003 with a DNN site on it (virtual directory of  Our main website it is www.hyper.com which is our old website.  I want to make a easy way to get to the old site by creating a sub domain of dev.hyper.com.  We have 2 servers DNS servers (both have windows server 2000 advance) the main DNS server I added a host of dev with it pointing to the IP address and went into the DNN site and added the alias of dev.hyper.com.  I did this before thanksgiving.  It is still not working, what the heck do I have to do to get this working?  It is a small network (about 15 PCs on the network).   I cant get the DNS to point to the directory directly (cant add the / in the boxes) so I am thinking that is the problem, but I don't know.

I also have to reset the DNS daily to allow us to access the www.hyper.com from in house.
Question by:trey5498
  • 2
LVL 25

Expert Comment

ID: 18022885
you are going about this the wrong way.  A subdomain is NOT what you want at all.  You just need to properly setup your DNS (without subdomains) and you will be good to go.

>> I want to make a easy way to get to the old site by creating a sub domain of dev.hyper.com
what URL do you want to be able to get to the website?
Is the IP address of the current or old website?
are you talking about for internal or external DNS or both?
do you host more than one site on this server? if so you will need to use host headers

>>I cant get the DNS to point to the directory directly (cant add the / in the boxes) so I am thinking that is the problem, but I don't know.
that is b/c that is NOT the way DNS was desinged.  DNS tranlates a FQDN to an IP only.  It does not transate a FQDN to an IP/subdirectory

LVL 25

Accepted Solution

mikeleebrla earned 500 total points
ID: 18022959
you probably just need to go int the DEFAULT website in IIS since this is where IIS will take you if you dont have any subfolder specified (www.site.com vs. www.site.com/dnn).  from there edit the default document (probably c:\inetpub\wwwroot\default.htm) and edit it to redirect to to where you want to go.  Simply add the code below to it and it will redirect you.

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yoursite/dnn">


Author Comment

ID: 18023401
The main site is host externally and the development site is hosted on a server in house.  My boss wants it to be dev.hyper.com for ease of remembering.  He is an 75 year old PHD, he is pretty stubone and set in his ways.  

the IP of the old site (which is not DNN) is  and the new DNN server only has one site hosted on it.  So how would I set up the dev.hyper.com?

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, we will discuss how you can secure Active Directory using free tools, and how you can choose a safe and secure Active Directory security auditing tool.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

623 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