V
V
vladislav9972021-08-04 11:33:23
Apache HTTP Server
vladislav997, 2021-08-04 11:33:23

How to properly set up apache on www?

Tell me how to properly configure apache on www? The config says the following:

<IfModule mod_ssl.c>
<VirtualHost *:80>
ServerName http://domain.io
ServerAlias www.domain.io
Redirect / https://domain.io
</VirtualHost>

<VirtualHost *:443>
    ServerName domain.io
    DocumentRoot ...........


DNS settings:
610a51a10418c424269367.png

what I see when I go to www
610a50b01a7e4453304148.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2021-08-04
@vladislav997

Apache has nothing to do with it. Your DNS is not configured.

V
Viktor Taran, 2021-08-04
@shambler81

ServerName domain.io
ServerAlias www.domain.io

cap che forgot a puncture there?
remove redirect for now

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question