www.zzzcarhire.com linked to this other domain's database(www.yyycarhire.com) ... in other words, the same database.

Leonidas Savvides

Well-Known Member
May 10, 2016
121
5
68
Cyprus
cPanel Access Level
Root Administrator
www.yyycarhire.com
www.zzzcarhire.com

These are two Sites that use MySQL - but database I wanted only to be in www.yyycarhire.com
and www.zzzcarhire.com linked to this other domain's database(www.yyycarhire.com) ... in other words, the same database.

Both domains are in the same server VPS xxx.xxx.xxx.xxx .... 4th Gen SSD CentOS 7
and both at the below have the same IP for remote database...
www.yyycarhire.com cPanel > Remote MySQL® > Manage Access Hosts > IP sss.rrr.ttt.vvv
www.zzzcarhire.com cPanel > Remote MySQL® > Manage Access Hosts > IP sss.rrr.ttt.vvv // exactly same as ^ above

Does this mean that the localhost must access both? how works?
 

Leonidas Savvides

Well-Known Member
May 10, 2016
121
5
68
Cyprus
cPanel Access Level
Root Administrator
Another problem is yyy.com/file.php [domain has database] rather execute internally php files prompts to save in my windows 10 PC... only this domain/site all other sites same server are OK

Linux CentOS 7 cPanel / WHM --- how fix this problem ???? from cPanel preferred
 
Last edited:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hello,

Having an incorrect or invalid apache handler present in the .htaccess will cause this behavior. cPanel automatically generates this based on your configuration settings for PHP - if you removed what was there previously and it was recreated correctly it would explain why the issue is resolved.
 
Thread starter Similar threads Forum Replies Date
M Databases 1
I Databases 1