Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The solution are Virtual Hosts:</p> <blockquote> <p>If you want to maintain multiple domains/hostnames on your machine you can setup VirtualHost containers for them. Most configurations use only name-based virtual hosts so the server doesn't need to worry about IP addresses. This is indicated by the asterisks in the directives below.</p> <p>Please see the documentation at <a href="http://httpd.apache.org/docs/2.2/vhosts/" rel="nofollow">http://httpd.apache.org/docs/2.2/vhosts/</a> for further details before you try to setup virtual hosts.</p> <p>You may use the command line option '-S' to verify your virtual host configuration.</p> </blockquote> <p>And here comes a configuration example:</p> <pre><code># # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any &lt;VirtualHost&gt; block. # &lt;VirtualHost *:80&gt; ServerAdmin postmaster@dummy-host.localhost DocumentRoot "C:/Program Files (x86)/www/htdocs/dummy-host.localhost" ServerName dummy-host.localhost ServerAlias www.dummy-host.localhost ErrorLog "logs/dummy-host.localhost-error.log" CustomLog "logs/dummy-host.localhost-access.log" combined &lt;/VirtualHost&gt; &lt;VirtualHost *:80&gt; ServerAdmin postmaster@dummy-host2.localhost DocumentRoot "C:/Program Files (x86)/www/htdocs/dummy-host2.localhost" ServerName dummy-host2.localhost ServerAlias www.dummy-host2.localhost ErrorLog "logs/dummy-host2.localhost-error.log" CustomLog "logs/dummy-host2.localhost-access.log" combined &lt;/VirtualHost&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload