I have a droplet with Ubuntu, Apache, MySql (basically a WordPress setup). I then have 10 or so virtual hosts setup within that droplet for various websites and apps. I set up the virtual host as described HERE
Everything works great and I love the setup – but sometimes, I don’t have access to the domain name until the site is complete (for example, a client has a squareSpace site and doesn’t want it to come down until we’re ready to switch).
I need access to a WordPress back-end so the client and I can fill it with data to feed an Ember app at the root.
Normally the IP address would just work, but with virtual hosts, I’m not sure how to get the to folder described above.
How can I reach this folder BEFORE I have a domain setup? Can I forward it in the .conf or the hosts file??? HELP! : )
or a subdomain would be great too.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.