Local Virtualmin Webserver?

3 posts / 0 new
Last post
#1 Thu, 11/21/2019 - 16:21

Local Virtualmin Webserver?

I want to create a local Virtualmin-based LAMP server to act as a staging server for a couple Wordpress sites.

The reason I want a Virtualmin-based setup instead of just using LAMP/WAMP is the ease of migrating, since Virtualmin lets me migrate the entire server.

The problem I am having is http://localhost takes me to /var/www instead of virtualminserver.com/public_html

What's the right way to do this?

Thu, 11/21/2019 - 19:51

I assume you have a Linux machine? Use pseudo domains when creating a virtual server and then modify your /etc/hosts file.

Thu, 11/21/2019 - 21:36 (Reply to #2)

It's actually Windows Linux Subsystem. I'm not sure that solution will work. I need the development site to have the url of mylivewebsite.com otherwords when if I ever migrate the dev site to the production server I am going to have all kinds of issues.

Topic locked