Using different database for subdomain website
-
Hey everyone, I’ve been having a problem I can’t seem to solve. I have a main website that I do testing with, just messing around with designing and whatnot. I created a few subdomains from cPanel, for different websites. One of these sites I have completed and my client would like to replace his old website with mine. The client also uses cPanel, and so what I did was added a subdomain on his website, and that subdomain is set to use the database of the website I created. After adding a user to be able to use the database, I checked the website, and it seems that my original website shows up, not the one I want. So to summarize, the main website A has a subdomain B, with it
s own database. I saw no option to download subdomain Bs database, only A’s. I then went to the clients cPanel, created a subdomain using A’s database, and so because of that website A shows up, when I actually want B to show up. Could anyone explain how to download B’s database, seeing how it is a subdomain of A?EDIT: I should add that when in cPanel, I only see A’s database in the list of databases (mySQL databases), not any of the other ones. I can only access B’s database by going into phpMyAdmin and choosing to view B’s database.
The topic ‘Using different database for subdomain website’ is closed to new replies.