0

Hello guys, now that i have all my scripts up and running i need some help configuring virtualhosts on Apache/Xampp/Win7

The Httpd-vhosts.conf like this:

<VirtualHost *:80>
    ServerAdmin joao.dias@centralcervejas.pt
    DocumentRoot "C:/xampp/htdocs"
    ServerName kadar
    ServerAlias www.kadar
   <Directory "C:/xampp/htdocs/" >
            Options Indexes FollowSymLinks ExecCGI Includes
            Order allow,deny
            Allow from all
        </Directory>  
</VirtualHost>

The Windows 7 Hosts File is set like this:

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
10.5.135.75       kadar

I can open the page calling http://kadar inside the server but cannot open the page in client computer.
I get this message: Internet Explorer cannot display the webpage
What am i doing wrong?
Already rebooted apache server several times and windows 7 several times.

Edited by pritaeas: Closed as duplicate.

3
Contributors
2
Replies
17
Views
3 Years
Discussion Span
Last Post by pritaeas
0

Hello,

You would have to have the same host entry on the client also or use the IP address of the server.