Vitural Host

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

Vitural Host

Postby shadowz » 21. June 2008 22:10

hej i have to domæn and one ip i try to create a VHost.

when i go to my domæne form the server local drive its working
but if i try for the odre masine its not working only if i run on ip local


httpd-vhosts


NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName shadowz.dk
<Directory "C:/xampp/htdocs">
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/elpavon"
ServerName elpavon.dk
ServerAlias elpavon.dk
<Directory "C:/xampp/htdocs/elpavon">
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


windows Host


# Eksempel:
#
# 102.54.94.97 rhino.acme.com # kildeserver
# 38.25.63.10 x.acme.com # x-klientvært

127.0.0.1 shadowz.dk
127.0.0.1 elpavon.dk

try to work it ut but no luck Help
shadowz
 
Posts: 4
Joined: 21. June 2008 20:51

Postby brduran » 22. June 2008 01:56

From another computer in your local network (LAN) you would have to type the IP Address of the XAMPP server to see it: like http://192.168.1.111

If the computer is outside of you local network (WAN) then you would have to type the IP address assigned to you by your Internet Service Provider (ISP). If you have a Router make sure that it points to your XAMPP's local IP (192.168.1.111), that's done from within the Router itself.

For example, our static IP (WAN) assigned by our ISP is 75.155.161.123 and the XAMPP's local (LAN) address is 192.168.1.201, so in the Router we pointed all internet queries done to 75.155.161.123 to the local 192.168.1.201 XAMPP's address.
brduran
 
Posts: 22
Joined: 13. June 2008 03:13

hej

Postby shadowz » 22. June 2008 09:19

is this in the windows fil i need to set ip
shadowz
 
Posts: 4
Joined: 21. June 2008 20:51

Postby LooseCannon » 23. June 2008 14:37

but if i try for the odre masine its not working only if i run on ip local

Do you mean that you can only access the Xampp web pages from the PC running Xampp? It seems that brduran has taken it as such.

is this in the windows fil i need to set ip


brduran's referring to some networking stuff that enables hosts and networks to see each other. It's not just one setting or one files. Some more information about your situation might help us help you.

It would be very helpful to many of us if you would use capitals to start a sentence and full stops to end them. Please. I'd love to help, but this olde timer can't handle well technical issues expressed in i.m.-speak. :)

Also, search this forum for "virtual host" or "vhost". Lots of info!
User avatar
LooseCannon
 
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 138 guests