Ssh into url directory

devon

New member
Joined
Feb 20, 2024
Messages
4
I'm trying to run commands on my script, what's the URL directory location to cd to
 
I'm confused I just need to know the directory location for my domains url. cd/home/admin/domains/peepsule.io/public_html
What is the proper location I need to put in?
 
What is the proper location I need to put in?
That depends under which user the domain runs in. If it runs under admin, then you already have the correct cd command.

cd /home/username/domains/domainname/public_html
replace username and domain name by the correct names.
 
Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

I'm getting this error and I'm trying to fix it
 
You have to be logged in as root. Or su to root.

You can also change this another way. Login with FTP, download the .htacces file and change what you want.
Then upload the file again with FTP to the public_html. Same way as normal customers have to do it.
 
Back
Top