[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to change localhost to something else

Posted on 2006-06-07
3
Medium Priority
?
3,071 Views
Last Modified: 2008-01-09
Hi,

I use WinXP with IIS as my OS to develop and test webpages on my localmachine.

I current need to access all pages using http://localhost/foldername/

Is there any way by which I can add a new name instead of using localhost, so that way I can access different sites by their name directly (and not have to use localhost).

Eg: //jasonzsite/ -> where jasonzsite is what formerly used to be localhost.

This way i can keep each site seperate and not have to access it thru localhost/

How do i do this?

Thank You
Jason Menezes
0
Comment
Question by:jasonmzs
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Kenneniah earned 160 total points
ID: 16856365
Unlike IIS on a server, the IIS in XP does not support virtual websites. Virtual websites on a server OS based IIS allow you to have mutiple websites such as www.company1.com, www.company2.com, www.compay3.com......and so on running on the same server. The server looks at the URL that was typed, and gives the appropriate web page.

In the XP IIS, while you could edit the hosts file to point any names you want to the local computer, it wouldn't accomplish much as you would still need to use the foldername as well.
0
 

Author Comment

by:jasonmzs
ID: 16858132
GRRRRRR
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 16864818
Agreed. I've seen this a lot from web developers using an XP computer for testing. Some of them have ended up installing Apache web server instead for this.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses
Course of the Month18 days, 2 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question