RE: wildcard subdomain
01-19-2016, 02:17 PM
(This post was last modified: 01-19-2016, 02:18 PM by Delbane.)
(01-19-2016, 02:11 PM)TGates Wrote:(01-19-2016, 01:35 PM)Delbane Wrote: HiI managed to do it from the backend directly, what I did is i created wildcard.domain.com and then in the vhost config located hereĀ /etc/sentora/configs/apache/httpd-vhosts.conf I added the lineThat will not work for too long since the daemon will over write that file when it runs.
ServerAlias=*.domain.com
You can try it as a custom vhost entry > Module Admin > Apache Config > Override a Virtual Host > [Select domain] > and enter it in the 'Custom Entry' text box > Save and wait ~5mins for the daemon to run.
to confirm, it would be as following?
http://imgur.com/djbaKm5