Giving Dedicated IP to AddOn Domains?

Daemonia

Member
Jan 22, 2004
12
0
151
How would I go to assign a Dedicated IP address to an AddOn Domain (for SSL) under an account while leaving the parent account on the Shared IP?

Thanks!
 

Daemonia

Member
Jan 22, 2004
12
0
151
There's MAINACCOUNTDOMAIN.COM under the mainaccount and under that there's secure.mainaccountdomain.com which is in fact securedomain.com.

Which part of httpd.conf do I edit?

Thanks.
 

visiox

Well-Known Member
Jan 19, 2004
49
0
156
Ok if i got you right...

If your shared ip is 10.10.10.10 and your dedicated ip is 10.10.10.11 then try

NameVirtualHost 10.10.10.10:80

<VirtualHost 10.10.10.10>
ServerName www.server1.com
</VirtualHost>
<VirtualHost 10.10.10.10>
ServerName www.server2.com
</VirtualHost>
<VirtualHost 10.10.10.10>
ServerName www.server3.com
</VirtualHost>

NameVirtualHost 10.10.10.11:80

<VirtualHost 10.10.10.11>
ServerAlias www.securedomain.com secure.mainaccountdomain.com www.secure.mainaccountdomain.com
ServerAdmin [email protected]
DocumentRoot /home/secure/public_html
BytesLog domlogs/securedomain.com.com-bytes_log
ServerName www.securedomain.com
User secure
Group secure
CustomLog domlogs/securedomain.com combined
ScriptAlias /cgi-bin/ /home/secure/public_html/cgi-bin/
</VirtualHost>