How to fix 403 Forbidden error?

Welcome to our community

Be apart of something great, join today!

Status
Not open for further replies.

Brianhip

Newbie
Messages
6
Reaction score
1
Points
3
Hello,

Recently I moved my cpanel account to another server, after that, I am getting '403 Forbidden You don't have permission to access / on this server' error.

How can I fix this error?
 
  • Advertisement
  • geniushost 

    Premium Member
    Messages
    38
    Reaction score
    2
    Points
    17
    It is usually related to folder/file permission. If you are using shared hosting then contact your hosting provider to fix the issue.
     

    Dreamwebhosts

    Newbie
    Messages
    43
    Reaction score
    0
    Points
    6
    Please follow these steps to fix the 403 forbidden error:
    1. .htaccess file
    2. Reset file and folder permissions
    3. Or if you are use WordPress website then kindly disabled the plugin.
    If still issue didn't resolve then kindly contact your hosting provider.
     

    imsmith

    Newbie
    Messages
    2
    Reaction score
    1
    Points
    0
    fire this command

    find . -type f -exec chmod 644 {} \; ; find . -type d -exec chmod 755 {} \;
     

    SiberDC

    Newbie
    Messages
    8
    Reaction score
    0
    Points
    1
    Did you fix it? if your answer is yes can you tell us how did you solve that?
     

    Faizan190

    Banned User
    Messages
    30
    Reaction score
    0
    Points
    6
    Hello,

    Recently I moved my cpanel account to another server, after that, I am getting '403 Forbidden You don't have permission to access / on this server' error.

    How can I fix this error?
    Click on . htaccess file and reset all file and folders permission and also disable Wordpress plugins then that error code will go and it'll work fine.
     
    M

    mickeyinc

    Error is due to ownership or permission which needs to be resolved
    Also need to check the error_logs to see why 403 error
     

    dedipath

    Newbie
    Messages
    4
    Reaction score
    1
    Points
    3
    Hey there...

    it should be due to permission error. Ensure that you folder has correct permission/ownership.
    If you are getting this error while trying to make any changes, check modsecurity on your account and try disabling it.
     
  • Advertisement
  • hivalidity

    Newbie
    Messages
    49
    Reaction score
    2
    Points
    8
    The best option will be contact your hosting provider and ask them to resolve the issue.
     
    Status
    Not open for further replies.

    Advertisement

    Top