How to configure Apache to run ASGI in Django Channels? Is Apache even required?
<p>I built a django-project and deployed it to production using Apache-WSGI combo. For that I had added the 
<strong>apache2.conf</strong> as shown below:</p>

<pre><code>WSGIScriptAlias / /home/ubuntu/MyProject/MyProject/wsgi.py
WSGIPythonPath /home/ubuntu/MyProject

&lt;Directory /home/ubuntu/MyProject/MyProject&gt;
&lt;Files wsgi.py&gt;
Require all granted
&lt;/Files&gt;
&lt;/Directory&gt;
</code></pre>

<p>So this mean't all requests to my website first go to Apache, which then allows WSGI to come into play. So if I would switch off Apache, the website would not work.</p>

<p>I have now installed <strong>Django-Channels</strong>. As per the 'Deploying' section in the documentation (<a href="https://channels.readthedocs.io/en/latest/deploying.html" rel="noreferrer">https://channels.readthedocs.io/en/latest/deploying.html</a>), I have:</p>

<ol>
<li>Installed Redis (on my Django Project server)</li>
<li>Run worker servers</li>
<li>Run Daphne (interface server)</li>
<li>I have stopped Apache at the moment and the website refuses to connect.</li>
</ol>