To display the default Apache page how do I set the primary IP address for my cPanel environment .
Log into your cPanel web server via Secure Shell (SSH).
Located the httpd.conf file using the following command:
located httpd.conf
Open the httpd config file found in step 2 using the following command:
pico /usr/local/apache/conf/httpd.conf
Find the first VirtualHost container in the file. It will look similar to the following: (xx.xx.xx.xx will be the primary IP address of your server)
Above this section, add the following:
Save and exit the file.
Test the config file to ensure the text you entered is properly formatted using the following command:
/etc/init.d/httpd configtest
Assuming the test returns the message Syntax OK, restart Apache using the following command:
/etc/init.d/httpd restart
The restart of Apache will make your websites unavailable for a few seconds.