Skip to main content

Accessing database with subdomain?

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I'm not 100% certain on this one since cPanel doesn't typically work with Drupal. If you can configure a view in Drupal to connect to the old machine, it might work if remote connections are open. You could definitely connect to cPanel and PHPMyAdmin on the old system without changing any DNS settings, but you'd have to look at the Drupal documentation to see if that is something that is supported. A quick search of the guide at SQL Views did not show any details on connecting remotely. If mod_userdir is working in the old hosting environment you may be able to visit the original Drupal installation using the IP/~username method of accessing the site.
    0
  • henrice
    Hey, thanks for your suggestions. I just tried IP/~username, and got 404.
    0
  • cPRex Jurassic Moderator
    I was hoping it would be that easy, but they could have things running that conflict with mod_userdir, as that is a common server configuration. Maybe you could ask that host if they can enable mod_userdir for your domain? I still think that would be the easiest way to get access to the data.
    0

Please sign in to leave a comment.