• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

plesk 10 vhosts/webmails not working

mooiesite

Basic Pleskian
Hi,

I've installed lots of plesk servers before. But this one is strange.
(it is on amazon ec2 btw)

Plesk 10 fully updated.
all domains and webmail are not working and present the default Apache page (not the default parallels page)

DNS is working
HTTP requests come in at the right IP
alle requests appear in /var/log/httpd/access.log
but Apache keeps serving from /var/www/html
Its not a missing index.php or something like that in the configs, even static images do not work.

I did the /httpdmng --reconfigure-all and /httpdmng --reconfigure-server

I can't seem to find anything strange from the different config files and they are all correct loaded upon restarting apache.

Previewing the sites in plesk panel is possible.

Any thoughts?
 
Last edited:
It seems that it works just like as the NAT server behind the firewall.
So, basically, it works now like that: call from outside comes to external IP and then immediately being transferred to internal IP - that's like a re-translator. External IP does nothing here, it actually belongs to some Amazon router and just redirects packages to internal address. Domain is on the external IP and since this IP redirects packages to the internal IP, you see default Apache page as it should have been. So if you try to move domain to internal IP in Plesk, it will rewrite configuration files and start to accept packages at internal IP which is correct. This is usual configuration for server-behind-NAT situation.
I can also advise you to check the Plesk documentation section with work behind NAT description: http://download1.parallels.com/Plesk/PP10/10.4/Doc/en-US/online/plesk-administrator-guide/64949.htm
 
:) Thank you! Working perfectly
Should have known that.. :)

Because amazon is using dynamic internal ips, now i just need to make a simple script which runs on reboot to check for a changed local ip, remove the old one and alter the domain configs.
Thanks again!
 
Back
Top