|
||||
|
Hello..
Nowadays, if you manually put into serveralias this wildcard, it will be deleted when recompiling Apache at any time, or just executing "/usr/local/cpanel/bin/build_apache_conf"... doesn't matter you have distilled before. This can be considered a bug?
__________________
--- Kind Regards. Gino.... IT Hosting Fenixer www.fenixer.es www.manuales.fenixer.es |
|
||||
|
Nobody can confirm???
do you think it is a good idea to publish at bugzilla? thanks.
__________________
--- Kind Regards. Gino.... IT Hosting Fenixer www.fenixer.es www.manuales.fenixer.es |
|
||||
|
Quote:
If you use the search feature in this forum, you will saw a lot of thread that discuss this matter, like example : After create an new account the apache settings are reset and httpd.conf changes gone.
__________________
It's me ...... It's me ...... |
|
|||
|
Quick Wildcard Setup for One virtualhost
Code:
mkdir -p /usr/local/apache/conf/userdata/std/2/<username>/<domainname>/ echo "ServerAlias *.<domainname>" >> /usr/local/apache/conf/userdata/std/2/<username>/<domainname>/wildcard.conf /scripts/ensure_vhost_includes --user=<username> /scripts/restartsrv httpd replace <username> and <domainname> with the username and domain of the customer/domain. Don't forget to add the wildcard entry in the zonefile for the domain * IN CNAME domainname.com.
__________________
David, Systems Administrator |
|
|||
|
Quote:
. Login to the cpanel account owning the domain, go to subdomain, then add the subdomain * Cpanel autofills /public_html/ as document root. if thats where the domain is then your set to go. if not then write where this specific wildcard should point to. in case you added it manualy to either httpd.conf and/or the DNS zone then go to those 2 places and change/remove the * from there to look like they were before you manualy edited them. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|