Dear Experts,
I have a question (googled and searched this forum extensively) regarding hosting multiple websites on my plesk server. I'm using Plesk version 12.5.30 Update #55. I'm trying to run multiple websites on my plesk server which internally uses vhosts of apache but somehow the server doesn't seem to respond and only shows the default webpage of plesk. When I change the default page to the website it works fine (but I can only host one website).
The strange thing is that I tried to test everything locally (which I normally do with a manual configuration of apache (by adding e.g. the website "blaat.nl" to my /etc/hosts file with the ip 127.0.0.1. When I use the tool elinks in the terminal I see the default webpache of apache (?) in stead of the correct website or instead of the default webpage of plesk which I see on my laptop.
The output the apache2ctl -S is posted below. I don't think I made a mistake with my configuration.
Hopefully someone has any ideas to further troubleshoot this problem.
Sincerely,
Ruben
ps. Im now forwarding a subdomain to the Plesk server but I assume this isn't the problem because testing the server locally doesn't seem to work as well?
root@h2639256:~# apache2ctl -S
VirtualHost configuration:
85.214.142.223:443 is a NameVirtualHost
default server redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:10)
port 443 namevhost redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:10)
alias www.redcap.academicresearch.nl
alias ipv4.redcap.academicresearch.nl
port 443 namevhost default-85_214_142_223 (/etc/apache2/plesk.conf.d/server.conf:93)
port 443 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:151)
wild alias lists.*
port 443 namevhost blaat.nl (/etc/apache2/plesk.conf.d/vhosts/blaat.nl.conf:10)
alias www.blaat.nl
alias ipv4.blaat.nl
85.214.142.223:80 is a NameVirtualHost
default server redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:125)
port 80 namevhost redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:125)
alias www.redcap.academicresearch.nl
alias ipv4.redcap.academicresearch.nl
port 80 namevhost default (/etc/apache2/plesk.conf.d/server.conf:60)
port 80 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:126)
wild alias lists.*
port 80 namevhost blaat.nl (/etc/apache2/plesk.conf.d/vhosts/blaat.nl.conf:123)
alias www.blaat.nl
alias ipv4.blaat.nl
*:80 h2639256.stratoserver.net (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/vhosts/default/htdocs"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: ENABLE_USR_LIB_CGI_BIN
User: name="www-data" id=33
Group: name="www-data" id=33
I have a question (googled and searched this forum extensively) regarding hosting multiple websites on my plesk server. I'm using Plesk version 12.5.30 Update #55. I'm trying to run multiple websites on my plesk server which internally uses vhosts of apache but somehow the server doesn't seem to respond and only shows the default webpage of plesk. When I change the default page to the website it works fine (but I can only host one website).
The strange thing is that I tried to test everything locally (which I normally do with a manual configuration of apache (by adding e.g. the website "blaat.nl" to my /etc/hosts file with the ip 127.0.0.1. When I use the tool elinks in the terminal I see the default webpache of apache (?) in stead of the correct website or instead of the default webpage of plesk which I see on my laptop.
The output the apache2ctl -S is posted below. I don't think I made a mistake with my configuration.
Hopefully someone has any ideas to further troubleshoot this problem.
Sincerely,
Ruben
ps. Im now forwarding a subdomain to the Plesk server but I assume this isn't the problem because testing the server locally doesn't seem to work as well?
root@h2639256:~# apache2ctl -S
VirtualHost configuration:
85.214.142.223:443 is a NameVirtualHost
default server redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:10)
port 443 namevhost redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:10)
alias www.redcap.academicresearch.nl
alias ipv4.redcap.academicresearch.nl
port 443 namevhost default-85_214_142_223 (/etc/apache2/plesk.conf.d/server.conf:93)
port 443 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:151)
wild alias lists.*
port 443 namevhost blaat.nl (/etc/apache2/plesk.conf.d/vhosts/blaat.nl.conf:10)
alias www.blaat.nl
alias ipv4.blaat.nl
85.214.142.223:80 is a NameVirtualHost
default server redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:125)
port 80 namevhost redcap.academicresearch.nl (/etc/apache2/plesk.conf.d/ip_default/redcap.academicresearch.nl.conf:125)
alias www.redcap.academicresearch.nl
alias ipv4.redcap.academicresearch.nl
port 80 namevhost default (/etc/apache2/plesk.conf.d/server.conf:60)
port 80 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:126)
wild alias lists.*
port 80 namevhost blaat.nl (/etc/apache2/plesk.conf.d/vhosts/blaat.nl.conf:123)
alias www.blaat.nl
alias ipv4.blaat.nl
*:80 h2639256.stratoserver.net (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/vhosts/default/htdocs"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: ENABLE_USR_LIB_CGI_BIN
User: name="www-data" id=33
Group: name="www-data" id=33