hello,
my website works fine without www. but doesn’t working at all with it ( www.mywebsite.com ) do you know why ?
I have a lunix server with plesk 9, and I don’t know if it’s DNS problem or no, thanks in advance for your help.
hello,
my website works fine without www. but doesn’t working at all with it ( www.mywebsite.com ) do you know why ?
I have a lunix server with plesk 9, and I don’t know if it’s DNS problem or no, thanks in advance for your help.
Ha!
A sodding checkbox huh, isn’t it always the way.
Glad you sorted it.
You need to configure Apache to serve the www. prefix too, you can set this with the ServerAlias option.
Unfortunately, Plesk performs its own magic when creating domains and overwrites any configuring you do.
If memory serves, you can create a vhost.conf file in the /var/www/vhosts/yourdomain.com/conf directory. Inside this file, place the following lines…
ServerAlias www.yourdomain.com
ServerAlias yourdomain.com
You can then instruct Plesk to reconfigure the domain with the following command…
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=[B]domain.com[/B]
Good luck.
Thanks for the help, Anthony! It WAS obviously a DNS problem which cPanel handles automatically. Without a copy of Plesk to play with, it would have been impossible for me to “see” that a checkbox (in Plesk) was the problem.
:tup:
Regards,
DK
Is this a new or existing site? In Plesk did you check the ‘www’ box when creating the domain?
Check the VirtualHost entry, do you have the ServerAlias setup for www. ?
thanks for your help, it’s an existing website, and the problem that I followed the same configuration as another site on the same server that working fine with or without www
Thanks Anthony, I will try your solution, but I like to understand too, how can I configure the DNS of my website only by SSH, is that possible ?
Anthonyyyyyyyyyyyyyy I resolved it, but How ?
in your first reply, you asked me ( In Plesk did you check the ‘www’ box when creating the domain? ) and I remember that I did that, also I visited Plesk and found that it’s checked…but when you said ( Unfortunately, Plesk performs its own magic when creating domains and overwrites any configuring you do. ) you give me an idea to configure the same box ( www ) in Plesk, so I did twice ( first time unchecked it, I confirm, and the second time I checked it again and confirm) et voila, the website working again.
I appreciate your help, thanks very much.
hahah I think I’m Jedi Knight now
Lets get this sorted first Padawan.