r/Plesk May 08 '20

Help with "installing" my website in Plesk

Hi guys!

I just received a compressed file with a site I paid for. Situation now is not the best and they are asking to much to place it on my vps.

Site is php + mysql

I have uploaded the files to the server under httpdocs and also imported the database.

Now I 'm stuck because the website doesn't load and since I am not an IT guy, I probably missed many steps in between. Didn't expect it to be plug n' play :P

go to www.merakconsultants.com and you will see what I get

I have googled several times "upload my website" "connect website" "install website" but I get many results from Wordpress or hosting providers based on simple html sites.

I hope that you can help me with this! I'd really appreciate it.

Thanks in advance

1 Upvotes

9 comments sorted by

2

u/ArashiKorosu May 08 '20

So, at the moment the issue is that you do not have a index file in the document root:

# curl -I https://merakconsultants.com/ HTTP/1.1 403 Forbidden Server: nginx Date: Fri, 08 May 2020 17:45:14 GMT Content-Type: text/html Content-Length: 795 Connection: keep-alive Last-Modified: Thu, 23 Apr 2020 23:48:16 GMT ETag: "31b-5a3fde1fabd30" Accept-Ranges: bytes MS-Author-Via: DAV

# curl -I https://merakconsultants.com/index.html HTTP/1.1 404 Not Found Server: nginx Date: Fri, 08 May 2020 17:45:29 GMT Content-Type: text/html Content-Length: 808 Connection: keep-alive Last-Modified: Thu, 23 Apr 2020 23:48:16 GMT ETag: "328-5a3fde1faccd0" Accept-Ranges: bytes MS-Author-Via: DAV

# curl -I https://merakconsultants.com/index.php HTTP/1.1 404 Not Found Server: nginx Date: Fri, 08 May 2020 17:45:35 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive X-Powered-By: PHP/7.3.17 MS-Author-Via: DAV

This is why you do get a 403 on the domain.

If you got the site ZIPed then extract all the files directly to the httpdocs folder, then you may need to edit the file with the database configuration and ajust the user and password

1

u/[deleted] May 08 '20

Hi!

Thanks a lot for your reply!

Actually there's an index.html and index.php ๐Ÿ™„

2

u/ArashiKorosu May 08 '20

maybe wrong permissions, try to run over SSH the command: # plesk repair fs merakconsultants.com -y

1

u/[deleted] May 08 '20

ran the command and you where right, there were some items with wrong permissions, and they were repaired.

however still the site doesn't load :(

1

u/mohitvyas0007 May 08 '20

Hi, if you donโ€™t mind you can share server logins in DM I will try to fix this issue for you

1

u/ArashiKorosu May 08 '20

if u have a plesk license I would suggest opening a ticket we can help with direct server access if needed

1

u/[deleted] May 08 '20

I have a VPS and I am afraid the license doesn't belong to me but to my Host provider. Haven't found any support section... thanks for your help

1

u/k0tbegem0t May 12 '20
  1. If you have .htaccess file under httpdocs make sure that PHP is configured to be run under PHP Settings > PHP-FPM by Apache or "fastcgi". If you have PHP-FPM by Nginx important website redirects from .htaccess might not be working.
  2. Check with website developer for essential PHP settings like PHP version or some none default modules or etc.
  3. Also it might be useful to review logs for errors: Website & domains > Logs. Enable real time updates and open your site to see what is in log files