Hi, I am having some strange issues when i change my site IP to a dedicated address, on the dedicated address it shows the 'unbound' site which says "Great Success! Apache is working on your cPanel server".
When the site is on the shared ip of the main server it is fine. All the following sites are accesbile:
The config (this hasnt been modified, straight 'cat /usr/local/apache/conf/httpd.conf') is below:Code:http://mydomain.me -> OK http://www.mydomain.me -> OK http://support.mydomain.me -> OK
I then change the site IP in WHM to the dedicated address:Code:NameVirtualHost 88.11.11.54:80 <VirtualHost 87.31.21.54:80> ServerName mydomain.me ServerAlias www.mydomain.me DocumentRoot /home/mydomain/public_html ServerAdmin webmaster@mydomain.me ## User mydomain # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup mydomain mydomain </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup mydomain mydomain </IfModule> CustomLog /usr/local/apache/domlogs/mydomain.me-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/mydomain.me combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/mydomain/public_html/cgi-bin/ # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/mydomain/mydomain.me/*.conf" </VirtualHost> NameVirtualHost 88.11.11.54:80 <VirtualHost 87.31.21.54:80> ServerName support.mydomain.me ServerAlias www.support.mydomain.me DocumentRoot /home/mydomain/public_html/support ServerAdmin webmaster@support.mydomain.me ## User mydomain # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup mydomain mydomain </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup mydomain mydomain </IfModule> CustomLog /usr/local/apache/domlogs/support.mydomain.me-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/support.mydomain.me combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/mydomain/public_html/support/cgi-bin/ # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/mydomain/support.mydomain.me/*.conf" </VirtualHost> <VirtualHost 87.31.21.54:80> ServerName myotherdomain.com ServerAlias www.myotherdomain.com DocumentRoot /home/sysdrsc/public_html ServerAdmin webmaster@myotherdomain.com ## User sysdrsc # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup sysdrsc sysdrsc </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup sysdrsc sysdrsc </IfModule> CustomLog /usr/local/apache/domlogs/myotherdomain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/myotherdomain.com combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/sysdrsc/public_html/cgi-bin/ </VirtualHost>
I checked DNS and the dns entries point to the new IP which is fine.Code:Changed all instances of [87.31.21.54] -> [88.11.11.54] in mydomain.me Updating httpd.conf....Done Bind reloading on cartman using rndc Bind reloading on stan using rndc System has 0 free ips.
However when trying to browse the site again i get the unbound holding page come up:
The only site that works correctly is when the following URL is used: http://www.support.mydomain.me, however this is not what i want, i literally want to access the site from http://support.mydomain.me as is working properly on the shared IP.Code:http://mydomain.me -> Great Success! Apache is working on your cPanel server http://www.mydomain.me -> Great Success! Apache is working on your cPanel server http://support.mydomain.me -> Great Success! Apache is working on your cPanel server http://www.support.mydomain.me -> OK
The config ('cat /usr/local/apache/conf/httpd.conf') after the site IP change is below:
Would greatly appreciate points as to what might be going on here. In summary i have the following questions:Code:NameVirtualHost 88.11.11.54:80 <VirtualHost 88.11.11.54:80> ServerName mydomain.me ServerAlias www.mydomain.me DocumentRoot /home/mydomain/public_html ServerAdmin webmaster@mydomain.me ## User mydomain # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup mydomain mydomain </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup mydomain mydomain </IfModule> CustomLog /usr/local/apache/domlogs/mydomain.me-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/mydomain.me combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/mydomain/public_html/cgi-bin/ # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/mydomain/mydomain.me/*.conf" </VirtualHost> NameVirtualHost 88.11.11.54:80 <VirtualHost 88.11.11.54:80> ServerName support.mydomain.me ServerAlias www.support.mydomain.me DocumentRoot /home/mydomain/public_html/support ServerAdmin webmaster@support.mydomain.me ## User mydomain # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup mydomain mydomain </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup mydomain mydomain </IfModule> CustomLog /usr/local/apache/domlogs/support.mydomain.me-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/support.mydomain.me combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/mydomain/public_html/support/cgi-bin/ # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/mydomain/support.mydomain.me/*.conf" </VirtualHost> <VirtualHost 87.31.21.54:80> ServerName myotherdomain.com ServerAlias www.myotherdomain.com DocumentRoot /home/sysdrsc/public_html ServerAdmin webmaster@myotherdomain.com ## User sysdrsc # Needed for Cpanel::ApacheConf <IfModule mod_suphp.c> suPHP_UserGroup sysdrsc sysdrsc </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup sysdrsc sysdrsc </IfModule> CustomLog /usr/local/apache/domlogs/myotherdomain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ." CustomLog /usr/local/apache/domlogs/myotherdomain.com combined Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl ScriptAlias /cgi-bin/ /home/sysdrsc/public_html/cgi-bin/ </VirtualHost>
1) Does anyone know why in the original config when the mydomain.me site is on the shared ip (87.31.21.54) does the NameVirtualHost 88.11.11.54:80 appear? On the other sites hosted on the shared IP for the server there is no such directive (myotherdomain.com does not have this, please see above configs)?
2) Is it worth deleting the account and recreating it?
3) I am moving the site to a dedicated IP because WHM wouldnt let me install a cert i purchased from godaddy for the address support.mydomain.me whilst on the shared address. WHM insisted i assign a dedicated IP which led to the fun and games above. Are dedicated IPs required for all certs? I couldnt see this requirment with godaddy.
Either way it doesnt matter, i have the IP i just want to get cPanel working with it!!
Many thanks in advance,
Chris


LinkBack URL
About LinkBacks
. Are dedicated IPs required for all certs? I couldnt see this requirment with godaddy.
Reply With Quote