Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old October 7th, 2004, 04:12 AM
roughneck82 roughneck82 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Tejas
Posts: 63 roughneck82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 32 m 5 sec
Reputation Power: 5
URL to access localhost

Is there any possible way for me to type in a URL
such as www.mywebsite.com into my addy bar in my
browser and have it bring up a certain file in my
wwwroot folder?

Reply With Quote
  #2  
Old October 7th, 2004, 07:03 AM
Aeternas Aeternas is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 10 Aeternas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You should make a website or virtual folder (depends on which windows version you're using) in IIS. If you're running Linux, then I cannot help you, sorry.

On your desktop, right-click "myComputer", go to "Manage". Then click "Services", and go to "IIS". If you're running winXP or win2000-Professional, you'll have a "StandardWebsite" thingy there. Right-click it and go to "New" and click "Virtual folder". In the "Alias" thing, you should write a name of the website ("www.whatever.com") or something that helps you remember what this site is about ("myHobbySite"). Then choose a folder in the wwwroot where your wesite is situated.
In win2000 server edition you should make a new website (instead of a virtual folder) and the other things are basically the same (I think, but it's been a while since I've done it).

When you've made your virtual folder or website, then you should right-click the virtual folder/website, go to "properties" and there you can make some finishing touches. FOr instance, set the default page for your website (when people go to "www.whatever.com" a page should be displayed). In the "documents" tab you should add the name of your default page (like "home.htm" or "index.htm").

When you type "http://localhost//nameOfYourVirtualFolder" in your browser you get your website. If you want to type "www.whatever.com" then you'll have to configure the DNS with forward lookup zones and stuff... (The MS DNS configuration thingy)

I hope it does you some good...

Reply With Quote
  #3  
Old October 7th, 2004, 12:09 PM
roughneck82 roughneck82 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Tejas
Posts: 63 roughneck82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 32 m 5 sec
Reputation Power: 5
Also,

When I assign the virtual folder does it have to be in the wwwroot folder for asp to work when I view it in the browser?

Can I just have a directory in My Documents or on the C Drive and it still work?

Reply With Quote
  #4  
Old October 8th, 2004, 04:53 AM
ltarrant ltarrant is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: UK
Posts: 74 ltarrant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 24 m 21 sec
Reputation Power: 5
Assuming you've got a webserver running on your machine you could just edit you host file.

Go to C:\WINDOWS\system32\drivers\etc open the file hosts in notepad

And add the line 127.0.0.1 www.mywebsite.com

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > URL to access localhost


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 6 hosted by Hostway
Stay green...Green IT