• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Wildcard, DNS and what to put in vhosts.conf

F

florian.emrich

Guest
I got a big problem: I just wanted to configure wildcardomains to my virtual sever, but somehow it didn't work.

So this ist, what i did:

1) In the DNS-Configuration of my provider I installed a wildcard-DNS to the IP of my server.

2) I put a vhosts.von in /srv/www/vhosts/my-domain.de/conf with this content:

<VirtualHost *:80>
ServerName www.my-domain.de
ServerAlias *.my-domain.de
</VirtualHost>

I run the following command on my server:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=my-domain.de

But nothing happened. When I surf to a domain like testing.my-domain.de, I just get to the mainsite of my server (so i have to say, that my-domain.de is not the primary domain in Plesk. So all subdomains *.my-domain.de seem to be routed to www.primarydomain.de, also located on my server.

So what do i have to do, that all subdomains *.my-domain.de are routed to www.my-domain.de?
 
Back
Top