Redirect exemple.com:8080 to example.com

Discussion in 'HOWTO-Related Questions' started by sharkutz, Sep 25, 2014.

  1. sharkutz

    sharkutz New Member

    How to redirect exemple.com:8080 to example.com with apache?
    What would be the example.com.vhost configuration?

    I what for the user not to open the ispconfig admin panel from http://exemple.com:8080, just http://example.com
     
    Last edited: Sep 25, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    you will have to edit the ispconfig.vhost file and configure it to listen on port 80 (if you use http) or port 443 (if you use https), then add a line:

    ServerName example.com

    and restart apache.

    But be aware that you will not be able to add example.com as website then in ispconfig anmore when you use it for the ispconfig vhost.
     

Share This Page