Domain loads blank directory; there are files on the server. Happened after primary domain changed. Full explanation inside.
Okay, so I had created an account for one of my webdev clients, let's say it's example.com. I created an alias that was a subdomain of a dev domain I own, let's say that was site.dev, so I aliased example.site.dev. Client developed WordPress site at example.site.dev, and of course the files reside at /home/user/public_html/ (because it's aliased).
When it came time to make the site "live", my client's client had registered a different domain. So instead of example.com it now needs to be example.net. So before touching WordPress, I went into WHM and modified the account and changed its primary domain from example.com to example.net, and then edited my local hosts file to add "x.x.x.x example.net". Soon as I did that, when I go to example.net in private/incognito, I get an apache directory listing with no files:
-
Well, something happened overnight. Not sure what. I was using incognito to bypass any caching, so I have no clue what happened, but I didn't touch it. It fixed itself. :| 0 -
I'm glad to see the issue is no longer present. Thank you for updating the thread. 0
Please sign in to leave a comment.
Comments
3 comments