• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Getting Server Error 403 Forbidded.

kartik

New Pleskian
Server operating system version
Ubunti 20.04
Plesk version and microupdate number
Plesk Obsidian 18.0.44
Hi,

I have installed a magneto 2.4.2 inside httpdocs/cs/magento1 directory and It has been installed successfully but when I am trying to accessing the site I am getting Serve Error 403 forbidden. I have attached all the configuration and error snapshot. Any help would be greatly appreciated.
 

Attachments

  • 1.jpg
    1.jpg
    116.2 KB · Views: 16
  • 2.jpg
    2.jpg
    110.7 KB · Views: 14
  • 3.jpg
    3.jpg
    125 KB · Views: 16
  • Apache&nginx1.jpg
    Apache&nginx1.jpg
    140.5 KB · Views: 12
  • Apache&nginx2.jpg
    Apache&nginx2.jpg
    95.9 KB · Views: 10
  • Installation successful message.jpg
    Installation successful message.jpg
    108.5 KB · Views: 10
  • php1.jpg
    php1.jpg
    122 KB · Views: 14
  • php2.jpg
    php2.jpg
    114.8 KB · Views: 13
You are serving the website from the httpdocs directory, but there seems to be no index.php/html in there.

Change the document root as explained here:

 
Hi Maartenv,

Thanks for your reply.

I followed this article and did the changes as per the article but after modifying the document root location, it is redirecting plesk login page (title - Domain Default Page).
 

Attachments

  • Error.jpg
    Error.jpg
    90.6 KB · Views: 7
My goal is to create 2 magento2 project under a single domain like below.

smagento.com/httpdocs/cs/magento1 >> One magento 2.4.2 installation will be done here
smagento.com/httpdocs/cs/magento2 >> Another magento 2.4.2 installation will be done here
 
Why don't you use subdomains for each Magento installation?

magento1.smagento.com
magento2.smagento.com
 
I understand your point. Now I have installed magento 2.4.2 under /var/www/vhosts/smagento.com/httpdocs directory and its working fine but when I am trying to installing magento 2.4.2 inside /var/www/vhosts/smagento.com/httpdocs/magento1 directory then installation is completing successfully but I am getting the attached error. Can you please tell me reason for this error?

** Without changing Document Root.
 

Attachments

  • New Error.jpg
    New Error.jpg
    102.1 KB · Views: 7
What is the content of the file /var/www/vhosts/smagento.com/httpdocs/.htaccess ?

What is the content of directory /var/www/vhosts/smagento.com/httpdocs/magento1/ ?
 
Attached both the locations content.
 

Attachments

  • File.jpg
    File.jpg
    29.7 KB · Views: 13
  • htaccess.jpg
    htaccess.jpg
    40.1 KB · Views: 13
Back
Top