Results 1 to 2 of 2

Thread: How to run DA without port with LiteSpeed webserver

  1. #1
    Join Date
    Jun 2019
    Location
    Poland
    Posts
    40

    How to run DA without port with LiteSpeed webserver

    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.

  2. #2
    Join Date
    Jun 2019
    Location
    Poland
    Posts
    40
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •