make wild card permanent

Ramin007

Verified User
Joined
Jun 24, 2016
Messages
12
Hello.

I've a centos server, directadmin, apache and nginx (reverse proxy).

I want to add an A record and point * to MY_SERVER_IP for all new and existing users.

Also I want to add :

ServerAlias *.|DOMAIN|

to all new users' custom httpd file. I think this code is for apache.


I want to add |?SERVER_ALIASES=`SERVER_ALIASES` *.`DOMAIN`| to the (nginx-proxy httpd custom) for every new users as well. I think this one is for nginx.

please help me step by step.

Thanks.
 
Back
Top