Local website can not view

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Local website can not view

Postby speedracer » 25. April 2006 02:22

From xampptutorials website
Can't view your site with your domain name, but everyone else can?
For those who are using domain names and everyone else but you can see your website.

The solution for this is to open C:\WINDOWS\system32\drivers\etc and open the hosts file in notepad.

After the entry of 127.0.0.1 localhost add 127.0.0.1 yourdomain

so it looks something like:
127.0.0.1 localhost
127.0.0.1 mydomain.com


I searched and this comes very close to my problem but adding the entry results in the same error below.

Any other computer can see the site but the computer where it is hosted will get directed to the firewall (Solaris 10).

Xampp computer
(1)localhost --> xampp default (perfect - locked to localhost only - virtualhost for mydomain.com)
(2)127.0.0.1 --> sends me to mydomain.com but then every image is error pointing to the firewall.
(3)use mydomain.com errors wanting to go to firewall ip
(4)use mydomain.com with host added - same error

Outside the firewall - works fine
Local computer connected (behind firewall) - works fine

If I ping mydomain.com with the host settings I get the correct 127.0.0.1
If I ping without the host settings I get the correct DNS

So the problem is on the xampp computer I can not access the domain. Everywhere esle I can (odd.. lol since it is usually the otherway aorund)

Any sugestions?
speedracer
 
Posts: 2
Joined: 25. April 2006 02:13

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests