Apache VirtualHost Problem

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

Apache VirtualHost Problem

Postby KeiKun » 24. April 2012 09:38

It seems when i use Virtual host it doesn't work
im using it for my Subdomain


here's my code
Code: Select all
<VirtualHost *:80>
  ServerName keikun.com
  ServerAlias test.keikun.com
  ServerAdmin administrator@keikun.com
  ErrorLog /var/log/httpd/vhost.log
  DocumentRoot /var/www/html/test
  <Directory "/var/www/html/test">
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>



cause i want to access

test.keikun.com <-- /var/www/html/test
keikun.com <-- /var/www/html

but it doesn't work

i already fix my DNS

CNAME - test - keikun.com

but still doesn't work
KeiKun
 
Posts: 1
Joined: 24. April 2012 05:39
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate 64 bit

Re: Apache VirtualHost Problem

Postby JonB » 27. April 2012 17:33

What is the error you are getting?

8)





ysf
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 18 guests