0
Listen 80

<VirtualHost *:80>
    DocumentRoot "/var/www/html"
    ServerName "www.mydomain.com"
    ServerAlias "www.mydomain.com"

RewriteEngine on
RewriteCond %{SERVER_NAME} =www.mydomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Inspect element on website

JS and CSS are not loading on my website due to it looking for another public IP. Why would that be ? How would I change the file paths my website looks for ?

0 Answers0