• 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

Domain not viewable when viewing www. but is without

When you created the domain did you leave the box marked as www checked? if you unckecked that then the domain wont get a virtual host for the www even if DNS is setup properly.
 
yes the A record is there and resolving to the correct server.

Also yes the www box was ticked...
 
Go into httpd.include for the domain and make sure it setup a ServerAlias for www
 
Here is my current httpd.include

<VirtualHost 83.133.126.222:80>
ServerName stanley.ie:80
ServerAlias www.stanley.ie
UseCanonicalName Off
SuexecUserGroup stanleyftp psacln
ServerAdmin "[email protected]"
DocumentRoot /var/www/vhosts/stanley.ie/httpdocs
CustomLog /var/www/vhosts/stanley.ie/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/stanley.ie/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /var/www/vhosts/stanley.ie/web_users
</IfModule>

I dont see any difference between other sites...
 
Back
Top