Virtual host problem


I set the virtual host to point to / var / www / julio yesterday has a WordPress.

When I type, it’s going to

I wish it were for the virtual host I set up, / var / www / julio

See how I set it up:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/julio

        <Directory /var/www/julio/>
            Options FollowSymLinks
            AllowOverride All
            Require all granted

        ErrorLog ${APACHE_LOG_DIR}/julio.log
        CustomLog ${APACHE_LOG_DIR}/acces_julio.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Can anyone help?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Julinho,

I can see you have resolved the problem with redirecting to Can you confirm where did the issue lay? I would assume there was a redirect in either your Database or .htaccess file but please do let us know.

Regards KDSys