Hello,
I set the virtual host to point to / var / www / julio yesterday has a WordPress.
When I type juliocesar.design, it’s going to fliplab.com.br
I wish it were for the virtual host I set up, / var / www / julio
See how I set it up:
<VirtualHost *:80>
ServerName juliocesar.design
ServerAlias www.juliocesar.design
ServerAdmin webmaster@localhost
DocumentRoot /var/www/julio
<Directory /var/www/julio/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/julio.log
CustomLog ${APACHE_LOG_DIR}/acces_julio.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =juliocesar.design [OR]
RewriteCond %{SERVER_NAME} =www.juliocesar.design
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Can anyone help?
Tks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Julinho,
I can see you have resolved the problem with juliocesar.design redirecting to fliplab.com.br. 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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.