Author Topic: set multi alias website  (Read 8299 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
set multi alias website
« 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

Offline
***
Re: set multi alias website
« Reply #1 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.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
*
Re: set multi alias website
« Reply #2 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.

Offline
*
Re: set multi alias website
« Reply #3 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 ;)