Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

website down. http 500

General questions about VestaCP
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

website down. http 500
  • Quote

Post by bowsercloud » Wed Nov 02, 2016 10:07 pm

I can't access a domain on my vestacp install. I get a http 500 error. All the services are running. Rebooted server. Still won't load. Site is pingable and vesta interface is accessible. It has a letsencrypt certificate for https, set up with the vesta cli.
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: website down. http 500
  • Quote

Post by bowsercloud » Wed Nov 02, 2016 11:22 pm

I've narrowed it down to a problem with the https. If I disable the .htaccess https rewrite and go to the http site, it works fine. The https site doesn't work.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: website down. http 500
  • Quote

Post by mehargags » Thu Nov 03, 2016 7:36 am

what do you have in your .htaccess, please paste here
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: website down. http 500
  • Quote

Post by bowsercloud » Thu Nov 03, 2016 7:43 am

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Just the usual wordpress and the https redirect
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: website down. http 500
  • Quote

Post by mehargags » Thu Nov 03, 2016 3:35 pm

Did you migrate your WP site recently from another server?
or
Enabled HTTPs recently ?

If so, you need to delete permalinks and let WP create them again :

1. Delete your .htaccess

2. In your WP-Admin ->> Settings ->> Permalinks and set it to DEFAULT ->> Apply

Check and if the URL's work now, set the URLs back to PostName
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: website down. http 500
  • Quote

Post by bowsercloud » Thu Nov 03, 2016 7:58 pm

No. The site was working fine. Only thing that happened was the cron job to update the lets encrypt certificate ran. It had a chmod 755 error.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: website down. http 500
  • Quote

Post by mehargags » Fri Nov 04, 2016 5:11 am

PM me your domain... I'll check
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password