How to run DA without port with LiteSpeed webserver

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
40
Location
Poland
Hey,

How to run a proxy so that you can use the LiteSpeed ​​engine to run the panel without using the port.

I used this guide, but after doing all the activities under the indicated domain, only the basic page directadmin index.html is visible.
Additionally, after installing the LiteSpeed ​​web server in the fields Custom HTTPD Configuration I have error in all websites like this
AH00526: Syntax error on line 15 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
I'm also using CloudLinux with Directadmin Evolution Skin.
 

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
40
Location
Poland
Maybe it's not perfect solution but we can use a default domain like hosting.domain.com for redirect to :2222.

Create a domain which you want to use without port, and paste code http redirect like this:

<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=http://example.com">
<script type="text/javascript">
window.location.href = "http://example.com"
</script>
<title>Page Redirection</title>
</head>
<body>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow this <a href='http://example.com'>link to example</a>.
</body>
</html>
Also u can use a 301 redirect in htaccess.

Topic solved.
 
Top