Hello, all - new to this forum, and will be grateful for any assistance. Have run several shared-hosting sites and blogs for 15 years or so, but have minimal code experience and am far below the technical level of most people here - hope I'm not wasting the experts' time on a basic question. Have read dozens of forum and company pages on this general topic, and am still mystified, so perhaps answers will help others as well.
I have several live web sites and domain forwarders in one hosting account. Recently consolidated several domains and sites as add-ons to one umbrella domain. Most of the sites stopped working; with one, the index page still shows, but WordPress install is inaccessible except through cPanel file manager. I've sorted out most e-mail issues, so the main problem is site display/browser access.
I am trying to understand DNS Settings -> Advanced Options -> A (Host) entries. Hosting company tech support says that each cPanel hosting account gets a unique shared hosting IP address, which should be entered as the A (Host) DNS record for any site aimed at that domain - both same-name and forwarded. So here's a hypothetical setup:
cPanel for maindomain.com shows IPA 999.999.999.999
so I set DNS server(s) at maindomain.com domain page to 999.999.999.999
Then add on 2 domains: add1.com and add2.com
add1.com cPanel shows IPA 111.111.111.111
add2.com cPanel shows IPA 222.222.222.222
maindomain.com domain DNS list now shows 3 users:
maindomain.com
add1.maindomain.com
add2.maindomain.com
Questions:
1. What to set as DNS servers for add1.com and add2.com? Both to 999.999.999.999 to match the maindomain.com cPanel IPA, or each to match its site's cPanel IPA?
2. How to set the maindomain.com DNS for each user (i.e., each add-on domain)?
3. When the A (Host) list has a whole bunch of entries, e.g.
add1.com 86400 (1 Day)
autoconfig.add1.com 14400 (4 Hours)
autodiscover.add1.com 14400 (4 Hours)
cpanel.add1.com 14400 (4 Hours)
ftp.add1.com 14400 (4 Hours)
localhost.add1.com 14400 (4 Hours)
webdisk.add1.com 14400 (4 Hours)
webmail.add1.com 14400 (4 Hours)
whm.add1.com 14400 (4 Hours)
add1.com
should they all be set to the same IPA?
4. If a site runs but WordPress doesn't, could that have anything to do with DNS settings, or is it a coincidental problem perhaps resulting from the hosting change?
5. Could any of this relate to .htaccess settings? I've worked (clumsily) with .htaccess files for WP installations, but never for regular web sites. And some of the non-WP sites in question seem to have minimal .htaccess files - much smaller those my WP installations seem to get (mainly from all the stuff added by plugins).
I have tried each variation of IPAs in each location, and results are not great so far. So any help will be very much appreciated.
Thanks in advance!
I have several live web sites and domain forwarders in one hosting account. Recently consolidated several domains and sites as add-ons to one umbrella domain. Most of the sites stopped working; with one, the index page still shows, but WordPress install is inaccessible except through cPanel file manager. I've sorted out most e-mail issues, so the main problem is site display/browser access.
I am trying to understand DNS Settings -> Advanced Options -> A (Host) entries. Hosting company tech support says that each cPanel hosting account gets a unique shared hosting IP address, which should be entered as the A (Host) DNS record for any site aimed at that domain - both same-name and forwarded. So here's a hypothetical setup:
cPanel for maindomain.com shows IPA 999.999.999.999
so I set DNS server(s) at maindomain.com domain page to 999.999.999.999
Then add on 2 domains: add1.com and add2.com
add1.com cPanel shows IPA 111.111.111.111
add2.com cPanel shows IPA 222.222.222.222
maindomain.com domain DNS list now shows 3 users:
maindomain.com
add1.maindomain.com
add2.maindomain.com
Questions:
1. What to set as DNS servers for add1.com and add2.com? Both to 999.999.999.999 to match the maindomain.com cPanel IPA, or each to match its site's cPanel IPA?
2. How to set the maindomain.com DNS for each user (i.e., each add-on domain)?
3. When the A (Host) list has a whole bunch of entries, e.g.
add1.com 86400 (1 Day)
autoconfig.add1.com 14400 (4 Hours)
autodiscover.add1.com 14400 (4 Hours)
cpanel.add1.com 14400 (4 Hours)
ftp.add1.com 14400 (4 Hours)
localhost.add1.com 14400 (4 Hours)
webdisk.add1.com 14400 (4 Hours)
webmail.add1.com 14400 (4 Hours)
whm.add1.com 14400 (4 Hours)
add1.com
should they all be set to the same IPA?
4. If a site runs but WordPress doesn't, could that have anything to do with DNS settings, or is it a coincidental problem perhaps resulting from the hosting change?
5. Could any of this relate to .htaccess settings? I've worked (clumsily) with .htaccess files for WP installations, but never for regular web sites. And some of the non-WP sites in question seem to have minimal .htaccess files - much smaller those my WP installations seem to get (mainly from all the stuff added by plugins).
I have tried each variation of IPAs in each location, and results are not great so far. So any help will be very much appreciated.
Thanks in advance!
Code:
grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V