Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:plesk:plesk_login_without_port [2018/07/06 20:49] qtwrk created |
litespeed_wiki:plesk:plesk_login_without_port [2018/07/06 20:57] Lisa Clarke |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How To Set Up Plesk Login Page Without Port Number ====== | ====== How To Set Up Plesk Login Page Without Port Number ====== | ||
- | This is guide if you want to set up Plesk login page from ''https://IP-or-domain:8443'' to ''https://domain'' without port number in URL. | + | This is guide if you want to switch the Plesk login page from ''<nowiki>https://IP-or-domain:8443</nowiki>'' to ''<nowiki>https://domain.com</nowiki>'' without a port number in the URL. |
===== Set Up External App for Reverse Proxy ===== | ===== Set Up External App for Reverse Proxy ===== | ||
- | Login into LSWS webadmin console https://your_server_ip:7088, open firewall if necessary. | + | Login into LSWS WebAdmin console ''<nowiki>https://your_server_ip:7088</nowiki>'', and open the firewall if necessary. |
{{:litespeed_wiki:plesk:plesk-login1.png|}} | {{:litespeed_wiki:plesk:plesk-login1.png|}} | ||
- | In this example ,create a external app with type webserver, and let's use name ''Plesk'' , set address to https://your_server_ip:8443 | + | In this example, create an external app with **Type** ''webserver'', and use **Name** ''plesk''. Set **Address** to ''<nowiki>https://your_server_ip:8443</nowiki>''. |
- | Graceful restart LSWS after you saved it. | + | Graceful restart LSWS after saving. |
===== Set Up Rewrite Rule ===== | ===== Set Up Rewrite Rule ===== | ||
+ | |||
+ | Create a vhost in Plesk, and then place the following rewrite rule in it: | ||
<code>RewriteRule ^(.*)$ https://plesk/$1 [P,E=Proxy-Host:domain.com]</code> | <code>RewriteRule ^(.*)$ https://plesk/$1 [P,E=Proxy-Host:domain.com]</code> | ||
- | ''plesk'' is the name created in external app, and ''domain.com'' is the domain you wish to use as front-end. | + | ''plesk'' is the name created in the external app, and ''domain.com'' is the domain you wish to use as a front-end. |