• 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

www not working properly

L

LightninH

Guest
Fresh install of Plesk 10.2, Ubuntu 10.04, 64bit

I'm only getting the default apache page when typing domains with www. I have made the cname properly and checked nslookups from different networks, but any www. tld .com goes to default page.

The standard tld.com works fine though. I've also noticed the default DNS entries no longer include www and must be manually entered.

(I haven't typed www anything for almost 12 years, but I guess there are still people who type with w's).

Thanks for helping me with this.
 
Thanks for that link. I've been using cname instead A records. I've actually tried both, but neither worked.

I guess I'll mess with this:

/var/www/vhosts/DOMAIN.TLD/conf/12892900630.36545400_httpd.include
--->8---
<VirtualHost 192.168.34.85:80>
ServerName "DOMAIN.TLD:80"
ServerAlias "www.DOMAIN.TLD"
---8<---
 
I added this line and it works properly now:

ServerAlias "www.DOMAIN.TLD"

I guess when creating www cname, apache will add that automatically.

Thanks
 
Last edited by a moderator:
Back
Top