2 domains 1 IP

From Cheatsheet
Revision as of 09:59, 13 December 2010 by Admin (talk | contribs) (Created page with '= Adding domains to Dedicated ips = Sometimes the customers want this done for certain applicational uses. This can be done if a SSL certificate is not installed on the dedicate…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Adding domains to Dedicated ips

Sometimes the customers want this done for certain applicational uses. This can be done if a SSL certificate is not installed on the dedicated ip address.

To place more that one domain on a dedicated IP go to:

cd /var/cpanel/userdata/

Choose the domains user that we are adding to the ip example: username/domain.com

vim username/domain.com 

Change the ip to the new ip, save the file.

/scripts/rebuildhttpdconf
/etc/init.d/httpd stop
/etc/init.d/httpd stop
/etc/init.d/httpd startssl

Wait for it to propagate, and viola!