Answer the question
In order to leave comments, you need to log in
Why does the site on vds not work without www?
The first time I bought a vds server. They gave me his ip address 93.188.163.180.
Bought the bookiebeater.net domain. In the dns zone in the registrar's control panel, I added the following entries:
That is, I created 3 A entries leading to ip VDS *, @, www.
On the server, I added the following virtual host:
<VirtualHost *:80>
ServerName bookiebeater.net
ServerAlias www.bookiebeater.net
ServerAdmin [email protected]
DocumentRoot /var/www/bookiebeater/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/bookiebeater/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Usually aliases are registered with www and without www, but apparently it didn’t register or you haven’t found where yet, ask the hosting support.
Visually, everything is done correctly, it's not about DNS - for sure.
Try specifying the DocumentRoot without the trailing slash (DocumentRoot /var/www/bookiebeater).
In the rest with the config of a difference I do not see.
--
Now I thought, why do
Options FollowSymLinks
AllowOverride None
if you have /var/www/bookiebeater?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question