• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ServerAlias not working

FrantišekH

New Pleskian
Until week ago, when I wanted to alias a domain to subdomain, I did this:
1) Add to the /var/www/vhosts/domain.com/subdomains/target.domain.com/conf/vhost.conf this line:
ServerAlias aliaseddomain.com

2) Reconfigured server by:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Then, when I went in browser to http://aliaseddomain.com, I got content of target.domain.com.


Now, these things do not work. No more aliasing. I see duplicate "conf" folder:
/var/www/vhosts/target.domain.com/conf

Even when I duplicate vhost.conf file here and reconfigure server, nothing happen, still no aliasing.

What is strange is that when I alias in the same way some subdomain, it works! For example when I alias this way:
ServerAlias subdomain.aliaseddomain.com
This works.

What is wrong? I did not make any changes to server. It is from v10.4.4 MU12, I suppose.
 
Does it work when you make alias aliaseddomain.com for target.domain.com via Plesk interface? Did you check apache logs regarding this issue?
 
Strange. Why you cannot use domain and make alias to subdomain? What is the business case for making it vice versa?

Apache error log is /var/log/httpd/error_log
 
Strange. Why you cannot use domain and make alias to subdomain? What is the business case for making it vice versa?

I do not understand your question.

I have a multiDrupal installation on subdomain, aliasing domains to this multiDrupal subdomain. This worked OK for months. Now, starting about one week ago, it stopped work. Why should I make things other way? I want to do that this way. It is possible, Plesk was able to do that, but not today. It is Plesk problem, as I suppose. I do not want to change standard usage because of Plesk is doing something wrong... I do not want to make a workaround.

Apache error log is /var/log/httpd/error_log
I do not know what exactly I am looking for in this log.
 
Does it mean that my server will be never more able to alias a domain to subdomain?

A lot of web pages stopped working due to this problem, so I have to solve this as soon as possible, please.
 
FrantišekH, sorry, but it is a forum, a place for discussions. It not a support helpdesk because we can't login on your server and investigate problem there. Only Support Team can do it. If you need urgent support - contact Paralles Support Team here - http://www.parallels.com/support And if they really find a bug, they send bugreport to developers.
 
Back
Top