I'm on a VPS.
I have a domain, sub1.sub2.domain.com and need to park other domains via wildcard: *.sub2.domain.com
I already park domains explicitly (e.g. yoyo.sub2.domain.com ) via WHM but now I'll need to park many more and managing them is getting unwieldy.
1) I already have my 3rd-party DNS set up to use the wildcard.
2) I have the wildcard working on my local machine via an Apache VirtualHost directive: " ServerAlias *.sub2.domain.com "
3) WHM and CPanel both don't accept domains with asterisks in the "Parking" pages
4) Explicitly setting non-wildcard domains in WHM works fine.
This Cpanel staff member mentions you can use Cpanel, but the " * " is not accepted:
https://forums.cpanel.net/f5/edit-apache-directives-virtual-host-188972.html#post782351
Other posts mention editing Apache's .conf files but they may be overwritten by WHM/Cpanel.
So what is the solution?
Thanks for your time.
I have a domain, sub1.sub2.domain.com and need to park other domains via wildcard: *.sub2.domain.com
I already park domains explicitly (e.g. yoyo.sub2.domain.com ) via WHM but now I'll need to park many more and managing them is getting unwieldy.
1) I already have my 3rd-party DNS set up to use the wildcard.
2) I have the wildcard working on my local machine via an Apache VirtualHost directive: " ServerAlias *.sub2.domain.com "
3) WHM and CPanel both don't accept domains with asterisks in the "Parking" pages
4) Explicitly setting non-wildcard domains in WHM works fine.
This Cpanel staff member mentions you can use Cpanel, but the " * " is not accepted:
https://forums.cpanel.net/f5/edit-apache-directives-virtual-host-188972.html#post782351
Other posts mention editing Apache's .conf files but they may be overwritten by WHM/Cpanel.
So what is the solution?
Thanks for your time.