How to make Plesk accessible on the hostname without entering port

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:13:44 UTC

Modified:

2017-02-25 15:15:27 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to make Plesk accessible on the hostname without entering port

1.    Go to Plesk and create a subscription with required domain name. Let it be example.com
2.    Go to Websites & Domains > Hosting Settings and turn off PHP support & FastCGI support.
3.    Go to Apache & nginx settings screen and turn off 'Proxy mode' checkbox and click Apply.
4.    Scroll down till 'Additional nginx directives' and add the following lines:

     location / {
proxy_pass http://127.0.0.1:8880;
}

5. Click Ok button to save changes (it’s important to do step 3 & 4 separately)
6. Go to Extensions > Plesk Firewall module and enable the firewall.
7. Click Modify Plesk Firewall Rules and select Plesk administrative interface.
8. Select Allow from selected sources, deny from others and add 127.0.0.1 IP address.
9. Apply changes to firewall.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    valery frisch

    hi,

    I try add the additional nginx directive but it's not working, this is the error message : 

    Configuration Nginx non valide : nginx: [emerg] duplicate location "/" in /data/www/system/console.valactive.com/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed

     

    What can i do to resolve this error?

    thanx

  • 0
    Avatar
    Lev Iurev

    @Valery check additional directives for the domain console.valactive.com, according to the error the issue is there

Please sign in to leave a comment.