Hi
I'm using WAMP 1.6.6 on Win XP
I have a Bipac 7300 Router setup with Virtual server to redirect incoming requests on port 80 to the internal IP address.
I'm using a dynamic dns too - I believe it's set up correctly.
When I put my "domain" in - basil.dyn-o-saur.com into the browser, it redirects to http://localhost/xxxxx/login/index.php
In my httpd.conf file, I can't find reference to that anywhere:
I have in the file:
Listen 80
ServerName basil.dyn-o-saur.com:80
I've checked httpd.conf for some config that would redirect to localhost - where I was testing before trying to go live.
Any suggestions on where I've gone wrong please?
Woger
URL is redirected to localhost (incorrectly)
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Works from outside the router.. which is the correct behaviour. I was redirected to http://basil.dyn-o-saur.com/college/login/index.php
If you want to fully mock the environment from inside your network, open:
and add the following line:
This file is trusted over your DNS server, so you can override domain resolution for the local machine here.
If you want to fully mock the environment from inside your network, open:
Code: Select all
c:\WINDOWS\system32\drivers\etc\hostsCode: Select all
basil.dyn-o-saur.com 127.0.0.1