How do I reach a second web site on my local machine?
-
I just created a second web site on my Vista machine, to spare the default site being taken over by Umbraco CMS. I've given it a host name, but how do I cause requests to go to that hostname, and not look for it on external DNS?
-
I just created a second web site on my Vista machine, to spare the default site being taken over by Umbraco CMS. I've given it a host name, but how do I cause requests to go to that hostname, and not look for it on external DNS?
Use a different port?
You can't turn lead into gold, unless you've built yourself a nuclear plant.
-
I just created a second web site on my Vista machine, to spare the default site being taken over by Umbraco CMS. I've given it a host name, but how do I cause requests to go to that hostname, and not look for it on external DNS?
put an entry in your hosts file: c:\windows\system32\drivers\etc\hosts
-
put an entry in your hosts file: c:\windows\system32\drivers\etc\hosts
Thanks, I just have, and according to advice, before I assign a host-name to the second entry, it should point back to the default localhost site, e.g. I have in hosts: 127.0.0.1 localhost 127.0.0.1 umbraco Then, after I add a hostname to the new site, the name resolution should be OK, but now when I type http://umbraco, I get an external site. :confused:
-
Thanks, I just have, and according to advice, before I assign a host-name to the second entry, it should point back to the default localhost site, e.g. I have in hosts: 127.0.0.1 localhost 127.0.0.1 umbraco Then, after I add a hostname to the new site, the name resolution should be OK, but now when I type http://umbraco, I get an external site. :confused:
If I add those two lines to my hosts file, and do 'ping umbraco' from the command-prompt, I get this: Pinging umbraco [127.0.0.1] with 32 bytes of data Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 you should get the same, which indicates that the hosts-file modification is working as expected - in other words, DNS is happening as you want it to. If your browser is then going off to an external site, then this may be a problem with your webserver setup? sorry not got any more ideas that would help. I'd run wireshark next to see what's happening, but chances are someone else here will spot the problem
-
If I add those two lines to my hosts file, and do 'ping umbraco' from the command-prompt, I get this: Pinging umbraco [127.0.0.1] with 32 bytes of data Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 you should get the same, which indicates that the hosts-file modification is working as expected - in other words, DNS is happening as you want it to. If your browser is then going off to an external site, then this may be a problem with your webserver setup? sorry not got any more ideas that would help. I'd run wireshark next to see what's happening, but chances are someone else here will spot the problem
It was directing me to a big funny IIS7 image map thingie, which I, like a tool, thought was online. It seems to be the default IIS 7 page for sites with no content.
-
I just created a second web site on my Vista machine, to spare the default site being taken over by Umbraco CMS. I've given it a host name, but how do I cause requests to go to that hostname, and not look for it on external DNS?
Possibly by posting a question in the Web Development Forum?
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
I just created a second web site on my Vista machine, to spare the default site being taken over by Umbraco CMS. I've given it a host name, but how do I cause requests to go to that hostname, and not look for it on external DNS?
-
Use a different port?
You can't turn lead into gold, unless you've built yourself a nuclear plant.
The masked univoter strikes again! :zzz:
You can't turn lead into gold, unless you've built yourself a nuclear plant.