IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 12th, 2005, 11:44 AM
sanj sanj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 100 sanj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 42 m 3 sec
Reputation Power: 6
Setname of domain

Hi,

I have setup a server with IIS and have registered a sub domain name with an ISP, how do set the name of the sub domain name to the IP address of the server? also can I use the IP address and the sub domain name?

Thanks,

Sanj

Reply With Quote
  #2  
Old August 12th, 2005, 12:51 PM
bdreyer's Avatar
bdreyer bdreyer is offline
His name is Robert Paulson!
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2005
Location: Paper Street
Posts: 2,692 bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 4 h 10 m 43 sec
Reputation Power: 128
You need to have DNS records that point to you server... for example...

your server IP is W.X.Y.Z and it's name is "server", but you also want to be able to use "www"

In the "subdomain.toplevel.com" domain, you need two records, I'd recommend that they are both "A" records, don't use CNAMEs... one record will be "server" and the other will be "www", both point to W.X.Y.Z.

Then in IIS, you can set the host header if needed to accept incoming http traffic on you proper NIC, the proper port (80), and from the proper host header (www.subdomain.toplevel.com). If this is the only website on the server, then the hostheader is not needed, the only thing required is the proper DNS records.
__________________
Environmental LIMS
What the hell is all this LIMS st*ff about?
---------------------------------------
PHP Pagination Function
PHP Drop Down Menus

Reply With Quote
  #3  
Old August 12th, 2005, 12:59 PM
sanj sanj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 100 sanj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 42 m 3 sec
Reputation Power: 6
I'm alittle lost - do I need to ask who I purchased the subdomain name from to point to this IP address or is this something I do on the server.

I only need the subdomain name to point to this server as our website is hosted externally.

I sorry for not understanding fully.

Thanks,

Sanj


Quote:
Originally Posted by bdreyer
You need to have DNS records that point to you server... for example...

your server IP is W.X.Y.Z and it's name is "server", but you also want to be able to use "www"

In the "subdomain.toplevel.com" domain, you need two records, I'd recommend that they are both "A" records, don't use CNAMEs... one record will be "server" and the other will be "www", both point to W.X.Y.Z.

Then in IIS, you can set the host header if needed to accept incoming http traffic on you proper NIC, the proper port (80), and from the proper host header (www.subdomain.toplevel.com). If this is the only website on the server, then the hostheader is not needed, the only thing required is the proper DNS records.

Reply With Quote
  #4  
Old August 12th, 2005, 01:16 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
If you want a user to end up on your server after a request to http://subdomain.whateverdomain.com as bdreyer said you have to make an entry in the DNS for whateverdomain.com

I have an external hosted domain and a DNS control panel, and it was just a matter of adding an A record to the DNS for the domain, pointing to the proper IP of the server that will handle the subdomain. If you don't have a control panel, you can do a whois lookup on your domain to determine where the DNS for the domain is handled. Usually it will be part of the services provided by your hosting company.

I don't exactly understand the "purchased" part of your question, unless you are using a different hosting company for the subdomain, separate from the hosting company of the main domain.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #5  
Old August 12th, 2005, 04:17 PM
sanj sanj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 100 sanj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 42 m 3 sec
Reputation Power: 6
Thanks Doug,

after asking my hosting company to redirect to that IP address, anyone typing xx.mydomain.com will be directed the server, but could someone also type the ip address in the url to access the server?

Thanks,

Sanjay

Reply With Quote
  #6  
Old August 12th, 2005, 04:30 PM
bdreyer's Avatar
bdreyer bdreyer is offline
His name is Robert Paulson!
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2005
Location: Paper Street
Posts: 2,692 bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 4 h 10 m 43 sec
Reputation Power: 128
That is always true(using IP Address), but it may not go to the site you want if there are multiple sites on the server.

Reply With Quote
  #7  
Old August 12th, 2005, 04:34 PM
sanj sanj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 100 sanj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 42 m 3 sec
Reputation Power: 6
that's great - I understand a bit more.

Thanks again!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Setname of domain


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway