View Full Version : www for subdomain(Alias domain)
maoz
17th July 2007, 02:33 AM
how can I add www to subdomain that the apache will answer it(Alias domain for subdomain in apache)
I manage to add "Alias domain" to the conf file but i want to do it via panel.
10X
tnats
27th July 2007, 12:42 AM
In the domain alias page, click on the DNS icon and you can set up your dns entries for the domain alias.
SomeDay
23rd August 2007, 04:25 PM
hi, after updated to 8.2 the www alias for www.my-domain.com does not work anymore.
my-domain.de => no problem
www.my-domain.de => plesk default page
when trying to ad the www alias I'll get an error (DNS entry already exists).
so wat can I do?
AndreasK
24th August 2007, 06:35 AM
Go to domainalias -> dns
Turn dns off and turn on...
That works for me!
SomeDay
28th August 2007, 04:56 PM
Hi AndreasK,
thanks for the answer.
So I did it this way:
. Domains > mydomain.de > DNS settings > Restore the DNS zone with WWW-Prefix
. then set SOA record to a short refresh time
. then Switch the DNS service off and on
. and then wait and look
The funny thing is, that for some domains it works and for other it did not.
Up to now i tried to delete the entries, to ad them again, to restart the server and so on, but for some domains it does not work...
=> Is there a way to set the entries without plesk?
Thanks
SomeDay
30th August 2007, 05:01 PM
Hi,
now I decided to do it manually and it worked :-)
Edit the file:
\var\www\vhosts\mydomain.de\conf\httpd.include
Insert the “ServerAlias” Tag:
<VirtualHost 85.214.95.2:443>
ServerName mydomain.de:443
ServerAlias www.mydomain.de
...
<VirtualHost 85.214.95.2:80>
ServerName mydomain.de:80
ServerAlias www.mydomain.de
...
And restart the System.
=> That’s all ;-)
vBulletin® v3.6.12, Copyright ©2000-2008, Jelsoft Enterprises Ltd.