Multi domain with ssl on same account

Djunity

Verified User
Joined
Mar 9, 2008
Messages
243
Location
Holland
Hi,

Is it possible to have ssl enebled on more then 1 domain on the same account.
I ask this becouse we have some issue's with this.

Both domains have an own dedicated ip setup.
 
Hello,

One of the main reasons for having multiple IPs per User account was to allow multiple SSL domains under one User account.

The only thing you need to make sure is that they're "owned".

Also, you should only have 1 domain on the owned IP (mainly for "additional IPs") because DA doesn't order the VH's with the additional IPs, like it does with the default domain.

DA will always ensure the default domain is first. This is so that, when using SSL, it's VH is first, and it's SSL certificates are used. (multiple domains can be on an owned IP, but only the first VH's SSL certificates are used).
http://help.directadmin.com/item.php?id=89

With additional IPs, you can still have multiple domains, but it will just be alphabetical so it's best to only have 1 domain on "additional IPs", if they're owned. If the additional IP is shared, it doesn't matter, you'll be using the server's shared certificate anyway.

John
 
Hello,

One of the main reasons for having multiple IPs per User account was to allow multiple SSL domains under one User account.

The only thing you need to make sure is that they're "owned".

Also, you should only have 1 domain on the owned IP (mainly for "additional IPs") because DA doesn't order the VH's with the additional IPs, like it does with the default domain.

DA will always ensure the default domain is first. This is so that, when using SSL, it's VH is first, and it's SSL certificates are used. (multiple domains can be on an owned IP, but only the first VH's SSL certificates are used).
http://help.directadmin.com/item.php?id=89

With additional IPs, you can still have multiple domains, but it will just be alphabetical so it's best to only have 1 domain on "additional IPs", if they're owned. If the additional IP is shared, it doesn't matter, you'll be using the server's shared certificate anyway.

John

Hi John,

Still got a problem ssl looks right according to comodo in admin ip control i have: 81.30.65.68 owned admin klant00454 255.255.255.0
But when you go to the ip in the browser you still see the shared ip message from the reseller and if i go to the domain with this certificate then you get the local host certificate aka the server certificate.

It looks like the ip is not owned but still shared altho its listed as owned.

Any idea ?
 
Hello,

Try:
Code:
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq
We don't want to see a VH for that IP in:
/etc/httpd/conf/ips.conf

John
 
Hello,

Try:
Code:
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq
We don't want to see a VH for that IP in:
/etc/httpd/conf/ips.conf

John

Hi John,

Thanks this solves the problem.

Any idea on who this could happen all changed are done true da interface so it should have worked right away ?
 
I had the same a few minutes ago. Added extra ips's to one user (for the first time) and they showed up in de ips.conf. So the bug must be still there ?

EDIT: Sorry! Thought this was a post from february 11, but it is US date format so november 2nd :-)
 
Back
Top