Back home

Skapa fil

Nedan följer en steg-för-steg guide hur du skapar en fil

Skapa en ny fil
/etc/httpd/conf.d/www.hundochkattguiden.se.conf
Justera filens innehåll
<VirtualHost *:80>
    DocumentRoot "/var/www/affiliatesiter.prestaworks.se/public/wwwhundochkattguidense"
    ServerName www.hundochkattguiden.se
    ServerAlias hundochkattguiden.se
    <Directory "/var/www/affiliatesiter.prestaworks.se/public/wwwhundochkattguidense">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
Ladda om Apache
sudo service httpd reload
Peka in domännamnet till serverns IP
Instruktioner här
För SSl, använd Certbot
certbot --apache