Dreamcompute website setup



we have completed the setup of our website using dreamcompute, however can’t get it to work with “www.” and also need to add “https://”
So far we can only make it work with http://websitename.com

Any ideas please?


In shared hosting this is how it works: go to your Dreamhost control panel, click on “Domains”, click on “Manage Domains”, you will see a section called “Web Hosting”, click on “Edit” and change the settings indicating you want www to work alongside non www


To force https, edit your .htaccess file (or create one if you don’t have one) and add

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]