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

how to create subdomain.ipaddress

iis7
I am using iis7 mananger
dedicated hosting windows server 2008

I know how to iis7 manager create bindings to have a subdomain for a domain name (website.com)

but can I create a subdomain for an ip address  (and how can I do this process)

the ip address uses the folder with files
which I can see on a browser

but when I create http://subdomain.ipaddress
I see Firefox can't find the server at test.ipaddress

I also tried editing port and clicking browse
test.ipaddress:81
test.ipaddress:8080
test.ipaddress:8081test.ipaddress iis7 manager
0
rgb192
Asked:
rgb192
  • 7
  • 6
  • 4
2 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You can't have a subdomain.ipaddress form.  An IP address is a direct link to a name - the NAME what most people go to.  You can run multiple websites on different ports using ONLY an IP or you can add sub folders in the form ipaddress/subfolder.

If you believe otherwise, please show me a site doing this (it should be impossible) - the only way they MIGHT be able to do it would be if the registered a domain name like 123.123 (assuming the top level domain .123 existed - then you could make something that LOOKED like it, but strictly speaking, it wouldn't be.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
If you needed to do it for testing, you COULD, but that seems a bit silly.

For testing, just edit your host file so that it has entries for subdomain.ipaddress - example:

192.168.1.1      subdomain.123.123.123.123

Where 192.168.1.1 is the address of your web server.
0
 
rgb192Author Commented:
>>
If you needed to do it for testing, you COULD, but that seems a bit silly.

For testing, just edit your host file so that it has entries for subdomain.ipaddress - example:



what are the steps I take in windows server 2008 iis7
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
David Johnson, CD, MVPOwnerCommented:
what you want is to change your bindings where it has the 'ip address' that is where you add the ip address using the drop down. You MUST have a network adapter that has this ip address.

in your hosts file add
123.123.123.123 test

this will send http://test/ to the ip address 123.123.123, again you must use valid ip addresses for this to work.
0
 
rgb192Author Commented:
>>
in your hosts file add
123.123.123.123 test


is the hosts file in my html web folder
what are the steps
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
The hosts file is in %windir%\system32\drivers\etc
0
 
rgb192Author Commented:
show hidden files and folders
unchecked checkbox: hide protected os files


there is no system32 on this godaddy dedicated hosting windows server 2008


what are other optionswhere is system32
0
 
David Johnson, CD, MVPOwnerCommented:
you need to go to your godaddy dns config and add and A record
test.mydomain.com
for the ip address use whatever address you have for mydomain.com

do not use the ip address in the iis7 bindings just the test.mydomain.com
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Is there a reason you're not giving us all the information to begin with - like why you're doing this, that the server is hosted at go daddy, etc?  You do realize that if your were forthcoming and volunteer the information, we could help you more efficiently and quickly?

You understand what your asking for is not possible and for testing purposes is really pointless?  If you explained WHY you wanted to do this, we might be able to give a USEFUL solution.

You understand that %windir% is an environment variable that means on MOST systems (but necessarily all) C:\Windows - that's why %WINDIR% is used, in case someone does something non-standard.

ASSUMING your server is standard and that godaddy does things standard, then the Hosts file is in C:\Windows\system32\drivers\etc - if you don't SEE it, then TYPE IT IN in an explorer Window.
0
 
David Johnson, CD, MVPOwnerCommented:
What most of us do is create the sites on our local machines, once they are stable and at our liking then we will replicate the settings and files on the remote machines.  Or if you wanted you could change your registrars dns setttings to point to your local machine's remote ip address assuming that you understand how to forward ports from your router to your machine and that you have a relatively stable remote ip address (static preferred).  Godaddy is a cheap domain registrar but their other offerings are less than ideal. (not taking into consideration their latest outage)

editing the hosts file on the godaddy machine is absolutely a waste of time unless you wish to use the web browser that may or may not (probably not) be installed on that machine to browse the website, you will not be able to browse it remotely
0
 
rgb192Author Commented:
My boss wants to host subdomains we can log onto using the dedicated ipaddress instead of using many domain names which will expire
0
 
David Johnson, CD, MVPOwnerCommented:
then you have to use ports and use that in the bindings and leave the hostname blank.
http://123.123.123.123:81/

subdomains only expire if the base domain expires.
0
 
rgb192Author Commented:
so it is impossible to have a subdomain
and the only solution is to have a different port number for each software package logon
0
 
David Johnson, CD, MVPOwnerCommented:
that is correct since you don't want to use the Doman Name System which instead of using port you could use a subdomain of a registered domain.
0
 
rgb192Author Commented:
>>that is correct since you don't want to use the Doman Name System which instead of using port you could use a subdomain of a registered domain


I dont understand

instead of
ipaddress:portnumber

is there a way to do
name.ipaddress
0
 
David Johnson, CD, MVPOwnerCommented:
no there isn't.. either use the domain name system or the ip address to access the site
0
 
rgb192Author Commented:
thanks for the information that tells me my task is too difficult
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 7
  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now