Control Web Panel

WebPanel => Installation => Topic started by: internetuser on October 29, 2017, 04:35:57 PM

Title: set multi alias website
Post by: internetuser on October 29, 2017, 04:35:57 PM
hi,
how to set up multi domain names such as domain.com + domain.org + domain.net..... to point at 1 website:domain.com .
basically having 1 website with many aliases  .  and have them all with ssl certs.

thanks
Title: Re: set multi alias website
Post by: darkness on October 29, 2017, 06:04:48 PM
Go to Domains -> Add Domain -> Choose the USERNAME of the first domain -> add /home/USERNAME/public_html for the domain. Like this point all domains you want to that username, then fix the ssl-vhosts.conf to add the SSL Certificates and you are done.
Title: Re: set multi alias website
Post by: internetuser on October 29, 2017, 07:27:06 PM
Go to Domains -> Add Domain -> Choose the USERNAME of the first domain -> add /home/USERNAME/public_html for the domain. Like this point all domains you want to that username

thanks for your help, i did the first part ,was easy to follow the steps you've mentioned

then fix the ssl-vhosts.conf to add the SSL Certificates and you are done.

could you please tell me where to find ssl-vhosts.conf , i found vhosts-ssl.conf in /usr/local/apache/conf.d it was an empty file , what i did is i've pasted the lines from domain.com ssl after i find/replaced domain.com with domain.org . but i got an error ,apache failed to start .
how to edit the ssl file exactly.
Title: Re: set multi alias website
Post by: internetuser on October 29, 2017, 08:01:53 PM
i find out a way !! to solve the ssl issue for the alias (.org) i used the Custom Install of Letsencrypt (apache setting/letsencrypt manager :bottom option ) then in the same page edited - CWP Configuration and - Apache Configuration, based on the info of the .com name . et voila .
hope this will help someone some day ;)