• 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
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Issue This is a default webpage generated for [domain] by Plesk

cjwik

New Pleskian
Server operating system version
Lightsail on AWS, Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian Web Admin Edition 18.0.59 Update #2
Hi,

I have created a second (and third) domain hosting, but it only shows the page "This is a default webpage generated for [domain] by Plesk." How can I make it show the index.html page that is located in the httpsdocs folder for the domain?

The public IP is marked as shared.
DNS is on Godday, and it resolves the domain correctly.
Running "plesk repair web" returns no error and doesn't resolve this.
The first domain hosting done on this server shows the correct index.html page for that domain, is this second and also third domain that has this issue.

If you Google for this phrase, there are a lot of pages out there that return this page, which seems to have the same issue.

Any suggestion on what it might be? I have tried to look at the documentation and Google but cannot figure it out. :)
 
That's very unusual. You have mentioned that you have tried "plesk repair web" as well.

Please check the Document Root for the 2 domain ain't working.

Under Hosting & DNS > Hosting

If you are trying to point all 3 domains to the same index.html. The Document Path should be httpdocs

Or you can place your index.html in the Document Root mentioned in Hosting section.
 
All of the domains have:
Document root* = httpdocs

If I change it, I can see that the autogenerate nginx config file for the domain gets changed.

Document root* = httpdocs/tmp
nginx file has root = "/var/www/vhosts/[domain]/httpdocs/tmp"

[domain] contains my domain name, this is a mask for this forum

So, it seems that each domain points to its respective location in the file system.
 
If the server has multiple IPs, Please make sure 2 domains DNS is point to the correct IP address. Thats the last thing I can think of right now. Sorry.
 
Back
Top