Solved

Need help with setting up a subdomain

Posted on 2006-11-27
3
162 Views
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 12.27.134.116/dnn).  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.
0
Comment
Question by:trey5498
  • 2
3 Comments
 
LVL 25

Expert Comment

by:mikeleebrla
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 12.27.134.116 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



0
 
LVL 25

Accepted Solution

by:
mikeleebrla earned 250 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">

0
 

Author Comment

by:trey5498
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 209.208.54.129.  and the new DNN server only has one site hosted on it.  So how would I set up the dev.hyper.com?
0

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.

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

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…
Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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