Support » Localhost Installs » Setting up multiple local hosts

  • Hi everyone,

    I’d just like some clarity on this, please.

    I’ve published a website from one of my localhosts installs.

    I want to start a second website, but don’t want to use the multisite function.

    Do I need to install Bitnami WordPress again to make a new website, and/or make a new WordPress account (or should I go down the line of XAMPP).

    Thanks,
    Thomas

Viewing 8 replies - 1 through 8 (of 8 total)
  • try ServerPress, Local by Flywheel, DevKinsta

    Thread Starter thomasscottphoto

    (@thomasscottphoto)

    Hi @lcf,

    Thank you very much!

    If I’m doing a site for someone else, should I just create a new account for them and give them the credentials after I have finished?

    Or, do I use one of these anyway?

    Cheers,
    Thomas

    what account?

    Thread Starter thomasscottphoto

    (@thomasscottphoto)

    @lcf a new WordPress account.

    I would create new WordPress user accounts for clients to access their websites

    RossMitchell

    (@rossmitchell)

    I configure my webserver to use the “virtual host” method, and use the hosts file mechanism to map domain names to my localhost server.
    More details here:
    https://httpd.apache.org/docs/current/vhosts/
    https://en.wikipedia.org/wiki/Hosts_%28file%29

    I develop the website locally using the final domain name, I can switch between local and hosted by commenting out the lines in the hosts file.
    Some people use a browser plugin to manage the hosts file.

    digitalwaysagl

    (@digitalwaysagl)

    @rossmitchell, that’s exactly what I am looking for (as a newbie) but I have a couple of questions to ask:

    1. Assuming that the final domain name is mysite.com, do you mean the following settings in the hosts file?

    #When working locally
    127.0.0.1 mysite.com

    #When working on live site
    #127.0.0.1 mysite.com

    2. I assume that the live site is in https, so how do you manage the SSL certificate on localhost?

    1) These settings are correct.
    2) YOu create a “self signed” certificate for the domain, then you grant your browser a security exception on this certificate.

    You also need to have your webserver configured to use the virtual host method.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.