• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Need help with setting up a subdomain

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
trey5498
Asked:
trey5498
  • 2
1 Solution
 
mikeleebrlaCommented:
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
 
mikeleebrlaCommented:
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
 
trey5498Author Commented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now