- This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I've got my Genesis site hosted on Godaddy (http://www.keith-moore.net), and last night I wanted to make a subdomain so I could create a new WP site and see if I liked it enough to later buy a new domain for it. I created the new subdomain, deleted some old subdomains from old school projects and...
1. My keith-moore.net domain is simply a white screen with the words, "Error establishing a database connection"
2. My subdomain (http://baldguyinla.keith-moore.net/ ) says "Forbidden You don't have permission to access / on this server."
I call Godaddy tech support, and the rep says he doesn't see the website's database, as in I deleted it. I'm out of town as I write this, so all my file backups are on my computer at home, but I don't think I backed up my database (forgot/didn't realize it's done separately from simply importing all the WP files), so it's looking like I might be screwed.
The tech said they could track down the deleted database and restore it for $80. Not the end of the world, but do I have to spend money to fix it in this situation? I guess that depends on whether I backed the database up properly in the first place. Frustrating, but at least this is just a personal hobby site, not the center of my business.
Any thoughts? Much appreciated...
A big part of your problem is that you are using GoDaddy for a host. Switch to a reliable host like SiteGround. Creating and deleting sub-domains should not have even touched the database. Normally, the process is create a database in MySQL, create the sub-domain, install WordPress. Sub-domain creating generally just adds DNS records, it doesn't do anything with the database. That's a separate process. Check to see if your wp-config file for the main site somehow got trashed. That's a more likely scenario than deleting a database, unless GoDaddy makes it part of the sub-domain process.
© 2023 WPEngine, Inc.