You can run and stop websites using the Start site and Stop site buttons in the Sites dialog.
Switching between Sites on a Single Domain
If you try to run a site that uses the same domain name (or alias) as another site that is already running, you will get an error message and the site will not be started.
If you need to test several websites on a single domain, such as http://localhost, you need to specify the domain (localhost) for multiple websites and start only one of them.
If you cannot use your own domain names, you can use several alternatives that point to the same computer with different host name http://localhost, http://127.0.0.1 or http://mycomputer.
You can find more details on how to configure the websites in chapter Configuring multiple websites.