Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 7 matches
- Sun Oct 08, 2023 7:58 am
- Forum: Web Server
- Topic: Redirect 301 /index.html to / not working
- Replies: 9
- Views: 35932
Re: Redirect 301 /index.html to / not working
Instead of having multiple redirection rules, try setting a single rule for handling index.html
let me see what happen this time.
RewriteEngine On
RewriteRule ^index\.html$ / [R=301,L]
# Redirect www subdomain to non-www and HTTP to HTTPS
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC,OR]
RewriteCond ...
- Wed Sep 27, 2023 2:08 pm
- Forum: General Discussion
- Topic: TUTORIAL: How to install SSL certificate to Vesta, Exim and dovecot daemons
- Replies: 35
- Views: 219952
Re: TUTORIAL: How to install SSL certificate to Vesta, Exim and dovecot daemons
Many server owners don't know how to install SSL to all daemons, especially to Exim4 and dovecot.
Now there is a new way that is built-in Vesta
Pre-required step: your server hostname must be full host address that is already pointing to IP of your server.
Check /etc/hostname to see what is ...
- Mon Jul 31, 2023 3:00 pm
- Forum: Web Server
- Topic: Redirect 301 /index.html to / not working
- Replies: 9
- Views: 35932
Re: Redirect 301 /index.html to / not working
Let's try a another method to see if it resolves the problem..
backup of your current .htaccess then try change it
Options -Multiviews
ErrorDocument 404 /index.html
RewriteEngine On
# Redirect /index.html to root /
RewriteRule ^index\.html$ / [R=301,L]
# Remove www subdomain and redirect to ...
- Fri Jul 21, 2023 2:25 pm
- Forum: Web Server
- Topic: Redirect 301 /index.html to / not working
- Replies: 9
- Views: 35932
Re: Redirect 301 /index.html to / not working
thank you again.
I did the change on the .htaccess and restarted apache2 through the Vesta panel.
for: www.domain.com, does 301 to domain.com
with redirectchecker, does 301 and then 200.
when entering: domain.com/index.html only shows code 200, no redirection to domain.com, keeps the domain.com ...
I did the change on the .htaccess and restarted apache2 through the Vesta panel.
for: www.domain.com, does 301 to domain.com
with redirectchecker, does 301 and then 200.
when entering: domain.com/index.html only shows code 200, no redirection to domain.com, keeps the domain.com ...
- Fri Jul 21, 2023 7:21 am
- Forum: Web Server
- Topic: Redirect 301 /index.html to / not working
- Replies: 9
- Views: 35932
Re: Redirect 301 /index.html to / not working
Thank you for your help.
I did everything as you said, but it seemed everything was already good in that way.
I tried later to use:
RewriteEngine On
Redirect 301 /index.html /
But no luck, when I enter to domain.com/index.html ... stays in domain.com/index.htm there is no redirection to domain ...
I did everything as you said, but it seemed everything was already good in that way.
I tried later to use:
RewriteEngine On
Redirect 301 /index.html /
But no luck, when I enter to domain.com/index.html ... stays in domain.com/index.htm there is no redirection to domain ...
- Tue Jul 18, 2023 7:59 am
- Forum: Web Server
- Topic: Redirect 301 /index.html to / not working
- Replies: 9
- Views: 35932
Redirect 301 /index.html to / not working
Hi All,
I have Vesta installed with Nginx + Apache2.
I have this .htaccess set up:
# Disable MutliViews
Options -Multiviews
ErrorDocument 404 /index.html
RewriteEngine on
# Remove www subdomain and redirect to HTTPS
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R ...
I have Vesta installed with Nginx + Apache2.
I have this .htaccess set up:
# Disable MutliViews
Options -Multiviews
ErrorDocument 404 /index.html
RewriteEngine on
# Remove www subdomain and redirect to HTTPS
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R ...
- Wed Nov 22, 2017 8:46 am
- Forum: Database Server
- Topic: Add existing DB to Vesta panel
- Replies: 1
- Views: 3442
Add existing DB to Vesta panel
I have some mysql databases, but I want to make backups of that Mysql databases with vesta panel. If I go to phpmyadmin, I can see all databases, but not in vestal panel DB.
How can I add this existing databases to Vesta panel, without losing data or changing login and password?.
Thanks in advance.
How can I add this existing databases to Vesta panel, without losing data or changing login and password?.
Thanks in advance.