|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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:
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
|||
|
|||
|
that's great - I understand a bit more.
Thanks again! |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Setname of domain |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|