Localhost going to IIS
Posted by: runnerpaul (---.range109-157.btcentralplus.com)
Date: February 18, 2012 08:22PM

Hi,

I can't get localhost to open correctly.

I think it might be related to my having IIS configured. When I click Wampserver on the taskbar and then Localhost I get the an IIS 7 image on the screen.


I have IIS at C:\inetpub\wwwroot but Wampserver should be at C:\wamp\www.

Can anybody please advise how this should be configured?

Cheers
Paul

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: stevenmartin99 (Moderator)
Date: February 18, 2012 09:04PM

Uninstall IIS if you are not using it.

or else you will need to change ports of one of them.

you cannot run two applications on the same port at the same time.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: runnerpaul (---.range109-157.btcentralplus.com)
Date: February 18, 2012 10:37PM

Ah OK.

I would like use of both. How do I check the ports and how do I change them?

Cheers
Paul

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: stevenmartin99 (Moderator)
Date: February 18, 2012 10:42PM

best to change wamp,


left click wamp>apache> httpd.conf

change
listen 80
to
listen 81

save and restart wamp, but you need to use localhost:81 now to connect.


The links on the menu wont work anymore , so to edit them

open c:\wamp\wampmanager.tpl

search for [localhost] and replace with [localhost]

it should be in the file 3 times on the new wampserver.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: runnerpaul (---.range109-157.btcentralplus.com)
Date: February 19, 2012 12:11AM

Thanks, I tried that but still now joy.

When I try click Localhost I now get a page that says:

"Forbidden

You don't have permission to access / on this server."

If I check apache_error.log I see:

"[Sat Feb 18 23:09:01 2012] [error] [client ::1] client denied by server configuration: C:/wamp/www/"

Cheers
Paul

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: stevenmartin99 (Moderator)
Date: February 19, 2012 09:03AM

you need to open c:\windows\system32\drivers\etc\

move the file called hosts to your desktop

open it with an editor and delete EVERYTHING in the file,

then just add one line
127.0.0.1       localhost

save and move back to the folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Localhost going to IIS
Posted by: runnerpaul (---.zone11.bethere.co.uk)
Date: February 20, 2012 09:50PM

Cheers Steven.

I'm up and running now!

Options: ReplyQuote


Sorry, only registered users may post in this forum.