Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th March 2009, 04:38
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto subdomain not working, 403 error. ispconfig 3

I'm having an issue with auto subdomains and subdomains in general. I created a client and added the site if I go to domain.tld it works fine, however if I go to www.domain.tld I get a 403 error. I tried removing the site and readding it and I'm still having the same issue. Any advice would be appreciated.

I'm running ispconfig 3 and Ubuntu server 8.10

Last edited by SeanT; 6th March 2009 at 04:42.
Reply With Quote
Sponsored Links
  #2  
Old 6th March 2009, 09:18
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone have any thoughts? I really need to get this working... I tried removing the website again and then going to domain.tld and it brought up the default apache site, however www.domain.tld brought up the 403 page... I'm really at a loss here...
Reply With Quote
  #3  
Old 6th March 2009, 09:43
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default

Log in to ISPconfig , then click on sites , then select the site and then select "Auto-subdomain" to www. and press save
Reply With Quote
  #4  
Old 6th March 2009, 09:47
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by robilaur View Post
Log in to ISPconfig , then click on sites , then select the site and then select "Auto-subdomain" to www. and press save
Tried that, and *.

Here is the config for the site

<VirtualHost *:80>
DocumentRoot /var/www/eviltomatomedia.com/web

ServerName eviltomatomedia.com
ServerAlias www.eviltomatomedia.com
ServerAdmin webmaster@eviltomatomedia.com

ErrorLog /var/log/ispconfig/httpd/eviltomatomedia.com/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/eviltomatomedia.com/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>

# cgi enabled
ScriptAlias /cgi-bin/ /var/clients/client6/web8/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@eviltomatomedia.com"
php_admin_value upload_tmp_dir /var/clients/client6/web8/tmp
php_admin_value session.save_path /var/clients/client6/web8/tmp
#php_admin_value open_basedir /var/clients/client6/web8:/usr/share/php5


</VirtualHost>
Reply With Quote
  #5  
Old 6th March 2009, 09:51
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default

Look`s fine to me.... do u have the domain in the DNS records?... and u have www there?
Reply With Quote
  #6  
Old 6th March 2009, 09:55
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by robilaur View Post
Look`s fine to me.... do u have the domain in the DNS records?... and u have www there?
Yep, www is a CNAME to the domain, the dns is hosted on the same machine.

I've restarted apache, I've even restarted the machine
Reply With Quote
  #7  
Old 6th March 2009, 09:59
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
Default

R u hosting the domain entirely on your server? or u have it on other service from where u make your pointings?
Reply With Quote
  #8  
Old 6th March 2009, 10:00
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it's all hosted on this one server.
Reply With Quote
  #9  
Old 6th March 2009, 10:06
SeanT SeanT is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just created a subdomain for mail. and that works fine... for some reason www will not work regardless of if I have it set as an auto subdomain or I manually create it... it makes no sense
Reply With Quote
  #10  
Old 6th March 2009, 10:07
robilaur robilaur is offline
Member
 
Join Date: Sep 2007
Location: Romania
Posts: 86
Thanks: 4
Thanked 12 Times in 9 Posts
Send a message via Yahoo to robilaur
 
Default

OK.... thats wired then.... try to make a A record of www.domain.tld pointing to your ip.
My setup is like this :
A domain.tld. 89.40.-.-
A www 89.40.-.-
Reply With Quote
Reply

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
ISPConfig virtual web pages not working mike_phi Installation/Configuration 8 7th May 2008 16:51
vhcs2 auto responder not working Reptile Installation/Configuration 30 7th September 2007 06:39
Setting Up A Subversion Repository Using Apache, With Auto Updatable Working Copy Jarek Buczyński HOWTO-Related Questions 0 21st June 2007 01:58
IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 asokaajay Server Operation 11 10th June 2007 14:57
Auto subdomain (admin/webmail/stats etc.) LukaszP Feature Requests 1 2nd December 2006 15:27


All times are GMT +2. The time now is 10:50.


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