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 23rd March 2010, 02:57
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hosting multiple websites and webmail

Hello everybody,

I am having 2 major issues here. I currently am running OpenSUSE 11.2 and have installed the newest version of ISPConfig3.

Issue 1: I have 2 websites that I am trying to host. I uploaded the first website and configured the DNS records. When I type in the address for the first website "example.com" the website comes up perfect. Then I uploaded the second website and configured the DNS records. When I type in the address for the second website "example2.com" the website come up perfect. But then when I enter back in the first website address it pulls up the second website page. Both have their own separate folders. I am hosting off of 1 IP Address and godaddy is where my domain names are. What am I missing here?

Issue 2: I set up an email account for my website but I don't know how to log in. I am using squirrelmail and I did the default configurations.

Please help. I have been working on this for over a month now.

Last edited by till; 23rd March 2010 at 08:57.
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2010, 07:07
billcouper81 billcouper81 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 29
Thanks: 2
Thanked 4 Times in 3 Posts
Default

Issue1:

As you say the correct websites loaded the first time you checked them, I can assume it is working correctly and you have a local caching issue on the PC used to view the websites. What happens in your web browser if you 'force' a reload from the server by hitting <Ctrl>+<F5> ?



Issue2:

If you used the "Perfect Server" guide to install ISPConfig, Squirrel Mail should be available on "http://ip.address/webmail"
If you browse to that address, do you get the login page?
If you want Squirrel Mail to be available on a virtual domain, you need to make the symbolic link in the correct place, eg:
ln -s /usr/share/squirrelmail/ /var/www/domain.tld/web/webmail
Reply With Quote
  #3  
Old 23rd March 2010, 11:52
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Issue 1. I'm testing the websites on my phone because since I'm in my own network I can't browse to the websites on my computer. But I can try using an outside computer and see what happens.


Issue 2: I did use the Perfect server guide. When i go to "example.com/webmail", i get an error message that says "the requested URL /webmail was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use and Error Document to handle the request." When I try using the symbolic link to the correct page I'm still getting the same error. Did mess up my configuration some where because my webmail folder is not in my website folder.
Reply With Quote
  #4  
Old 23rd March 2010, 15:31
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Update on the first issue. I did the cntl+F5 and it still pulls up the same website for both web addressess
Reply With Quote
  #5  
Old 24th March 2010, 01:56
billcouper81 billcouper81 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 29
Thanks: 2
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by dmwcool View Post
Issue 1. I'm testing the websites on my phone because since I'm in my own network I can't browse to the websites on my computer. But I can try using an outside computer and see what happens.
I run ISPConfig3 servers both at home and at work (Ubuntu 9.04). I can always browse to the virtual domains from within the local network. Even with my home implementation where the server doesn't have a real-world IP address (single NIC and simple NAT through my router). I have never tried browsing to the websites from the server itself as it is an actual server (it's headless, plus i don't enjoy text-only web browsing). But I can access the websites from any other machine on the same network


Quote:
Originally Posted by dmwcool View Post
Issue 2: I did use the Perfect server guide. When i go to "example.com/webmail", i get an error message that says "the requested URL /webmail was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use and Error Document to handle the request." When I try using the symbolic link to the correct page I'm still getting the same error. Did mess up my configuration some where because my webmail folder is not in my website folder.
So you made the symbolic link "/var/www/example.com/web/webmail" which points to your squirrelmail folder? What is the output of "ls -la /var/www/example.com/web" ?

It doesn't really matter where your webmail folder is... you could have squirrel mail installed in /usr/share/somesortathing and it wouldn't matter so long as you have made the symbolic link to the correct location

When you are trying to browse to example.com/webmail what is the output of /var/www/example.com/log/error.log ?
Reply With Quote
  #6  
Old 24th March 2010, 02:25
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

output of the ls command:

server1:~ # ls -la /usr/local/ispconfig/interface/web
total 92
drwxr-xr-x 17 ispconfig ispconfig 4096 Mar 22 20:17 .
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 ..
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 admin
-rwxr-x--x 1 ispconfig ispconfig 2292 Mar 22 20:17 capp.php
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 client
-rwxr-x--x 1 ispconfig ispconfig 2977 Mar 22 20:17 content.php
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 designer
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 dns
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 22 20:17 help
-rwxr-x--x 1 ispconfig ispconfig 1793 Mar 22 20:17 index.php
drwxr-x--x 4 ispconfig ispconfig 4096 Mar 18 22:40 js
-rwxr-x--x 1 ispconfig ispconfig 1650 Mar 22 20:17 keepalive.php
drwxr-x--x 4 ispconfig ispconfig 4096 Mar 18 22:40 login
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 22 20:17 mail
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 monitor
-rwxr-x--x 1 ispconfig ispconfig 3672 Mar 22 20:17 nav.php
lrwxrwxrwx 1 ispconfig ispconfig 26 Mar 18 22:41 phpmyadmin -> /srv/www/htdocs/phpMyAdmin
drwxr-x--x 2 ispconfig ispconfig 4096 Mar 18 22:40 remote
-rwxr-x--x 1 ispconfig ispconfig 25 Mar 22 20:17 robots.txt
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 sites
drwxr-x--x 3 ispconfig ispconfig 4096 Mar 18 22:40 strengthmeter
drwxr-x--x 2 ispconfig ispconfig 4096 Mar 22 20:17 temp
drwxr-x--x 3 ispconfig ispconfig 4096 Mar 18 22:40 themes
drwxr-x--x 6 ispconfig ispconfig 4096 Mar 18 22:40 tools
lrwxrwxrwx 1 ispconfig ispconfig 28 Mar 18 22:43 webmail -> /srv/www/htdocs/squirrelmail
--------------------------------------------------------------------------
output of error log:
[Thu Mar 18 22:55:11 2010] [error] [client 97.142.21.80] File does not exist: /srv/www/istandfortheband.com/web/webmail
[Thu Mar 18 22:55:11 2010] [error] [client 97.142.21.80] File does not exist: /usr/share/apache2/error/404.html
[Thu Mar 18 23:18:22 2010] [error] [client 97.142.21.80] File does not exist: /srv/www/istandfortheband.com/web/webmail
[Thu Mar 18 23:18:22 2010] [error] [client 97.142.21.80] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 00:40:56 2010] [error] [client 66.249.71.109] File does not exist: /srv/www/istandfortheband.com/web/ISFTB Pics/pages/prdtulonzazuuqvo.html
[Fri Mar 19 00:40:56 2010] [error] [client 66.249.71.109] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:17 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/admin
[Fri Mar 19 03:14:17 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:18 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/calendar
[Fri Mar 19 03:14:18 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:19 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/calendar
[Fri Mar 19 03:14:19 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:20 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/dotproject
[Fri Mar 19 03:14:20 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:21 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/dotproject
[Fri Mar 19 03:14:21 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:22 2010] [error] [client 196.44.10.207] client denied by server configuration: /srv/www/istandfortheband.com/web/errors.php
[Fri Mar 19 03:14:22 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/403.html
[Fri Mar 19 03:14:23 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/includes
[Fri Mar 19 03:14:23 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:23 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/poll
[Fri Mar 19 03:14:23 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:24 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/tools
[Fri Mar 19 03:14:24 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:25 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/tools
[Fri Mar 19 03:14:25 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:26 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/webcalendar
[Fri Mar 19 03:14:26 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:26 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/webcalendar
[Fri Mar 19 03:14:26 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:27 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/webcalendar
[Fri Mar 19 03:14:27 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:28 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/ws
[Fri Mar 19 03:14:28 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Fri Mar 19 03:14:28 2010] [error] [client 196.44.10.207] File does not exist: /srv/www/istandfortheband.com/web/ws
[Fri Mar 19 03:14:28 2010] [error] [client 196.44.10.207] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 08:04:45 2010] [error] [client 97.138.166.48] File does not exist: /srv/www/istandfortheband.com/web/webmail
[Sat Mar 20 08:04:45 2010] [error] [client 97.138.166.48] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 08:10:26 2010] [error] [client 97.138.166.48] File does not exist: /srv/www/istandfortheband.com/web/webmail
[Sat Mar 20 08:10:26 2010] [error] [client 97.138.166.48] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 08:21:48 2010] [error] [client 97.138.166.48] File does not exist: /srv/www/istandfortheband.com/web/squirrelmail
[Sat Mar 20 08:21:48 2010] [error] [client 97.138.166.48] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 08:25:48 2010] [error] [client 97.138.166.48] File does not exist: /srv/www/istandfortheband.com/web/squirrellmail
[Sat Mar 20 08:25:48 2010] [error] [client 97.138.166.48] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 08:27:28 2010] [error] [client 97.138.166.48] File does not exist: /srv/www/istandfortheband.com/web/srv
[Sat Mar 20 08:27:28 2010] [error] [client 97.138.166.48] File does not exist: /usr/share/apache2/error/404.html
[Sat Mar 20 14:43:04 2010] [error] [client 61.183.15.9] client denied by server configuration: /srv/www/istandfortheband.com/web/prx2.php
[Sat Mar 20 14:43:04 2010] [error] [client 61.183.15.9] File does not exist: /usr/share/apache2/error/403.html
[Sun Mar 21 08:27:24 2010] [error] [client 204.236.199.76] File does not exist: /srv/www/istandfortheband.com/web/Contact
[Sun Mar 21 08:27:24 2010] [error] [client 204.236.199.76] File does not exist: /usr/share/apache2/error/404.html
[Sun Mar 21 15:12:09 2010] [error] [client 221.192.199.35] client denied by server configuration: /srv/www/istandfortheband.com/web/prx2.php
[Sun Mar 21 15:12:09 2010] [error] [client 221.192.199.35] File does not exist: /usr/share/apache2/error/403.html
[Mon Mar 22 20:28:59 2010] [error] [client 97.173.22.100] File does not exist: /srv/www/istandfortheband.com/web/webmail
[Mon Mar 22 20:28:59 2010] [error] [client 97.173.22.100] File does not exist: /usr/share/apache2/error/404.html
Reply With Quote
  #7  
Old 24th March 2010, 03:57
billcouper81 billcouper81 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 29
Thanks: 2
Thanked 4 Times in 3 Posts
Default

Quote:
server1:~ # ls -la /usr/local/ispconfig/interface/web
Your sym link appears to be in the wrong location

Your virtual website is not located in /usr/local/ispconfig/interface/web
Your default website is not located in /usr/local/ispconfig/interface/web

Try this

Code:
ln -s /srv/www/htdocs/squirrelmail /srv/www/istandfortheband.com/web/webmail
Reply With Quote
  #8  
Old 24th March 2010, 12:04
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did the sym link and now I do see the webmail folder in my directory but when i go to "example.com/webmail" I still get the same error message of no directory found. When I do "mail.example.com", it just pulls up the website.
Reply With Quote
  #9  
Old 30th March 2010, 03:15
dmwcool dmwcool is offline
Junior Member
 
Join Date: Mar 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Can anybody help me resolve this email issue????
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
Yet another multiple webserver related question... Rashef Server Operation 1 25th March 2010 08:28
symlink to roundcube webmail displays "No input file specified." bswinnerton Installation/Configuration 11 9th March 2010 19:17
Can not logon to any webmail system on ISPConfig 2.x installation fieryhail Server Operation 1 14th June 2009 13:19
Recommendations for Open Source Control Panel, Webmail and Mailserver need_a_linux_brain Server Operation 2 12th May 2009 20:17
HELP - websites gone in ispconfig itgroup Installation/Configuration 2 8th July 2007 10:23


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


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