Prev Previous Post   Next Post Next
  #1  
Old 13th June 2007, 18:33
stirfry stirfry is offline
Member
 
Join Date: Jun 2007
Posts: 37
Thanks: 4
Thanked 0 Times in 0 Posts
Default Virtual Hosting Not Working

I have created a site in ISPConfig but the site resolves to the web root rather than the document root specified in the "Vhosts_ispconfig.conf" file as shown here:

Code:
NameVirtualHost 000.00.000.0:80
<VirtualHost 000.00.000.0:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.mysite.com:80
######################################
#
#
<VirtualHost 000.00.000.0:80>
ServerName www.mysite.com:80
ServerAdmin webmaster@mysite.com
DocumentRoot /var/www/web6/web
ServerAlias mysite.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
##### [shortened to save space]##########
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
So, basically, I can see the directory ISPConfig created for my site when I got to http://www.mysite.com. What am I doing wrong? Any help is appreciated!
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting: How do I set this up? VinceDee Installation/Configuration 7 12th December 2006 19:36
Building a virtual hosting structure thim Suggest HOWTO 16 25th June 2006 14:40
Virtual Hosting With Proftpd And MySQL (Incl. Quota) Secure? ToysunStory HOWTO-Related Questions 1 9th May 2006 01:03
Virtual hosting with Apache not working gimhan90 Server Operation 10 10th February 2006 16:11
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58


All times are GMT +2. The time now is 13:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.