Site forwarding error

Discussion in 'General' started by Alex M, Oct 24, 2021.

  1. Alex M

    Alex M Member

    Hi everyone, I have a problem with redirecting a site on ISPConfig, basically I have a site that has the same name as the server (example: isp.config.dominio.it) and I would like it to be directed to (example: https : //isp.config.dominio.it:8080) to access the ISPConfig panel but when I set it it continues to show me the default page of apache2 and does not forward it, this only does it with this site, with all the others works and works even if I change the name to the server, also I noticed that it works even if I add the https in front of the search. I don't know if it can hit because it's the same name as the server. Thanks to those who can give me a hand.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Are you asking how to access the ISPConfig Control Panel without writing the port number :8080?
     
  3. Alex M

    Alex M Member

    No, in the forwarding address I put: 8080. Whereas when I type the address, I don't put it.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Disable the default vhost:
    Code:
    a2dissite 000-default
     
  5. Alex M

    Alex M Member

    Thanks, I was able to solve it, I wanted to ask you by chance you can also tell me how to solve the following problem that is: When in a domain site only one type / webmail to access the webmail gives me an error: The page does not work error 500, if can you help me out for this too, thank you. A thousand thanks
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Have you set up the global alias for /webmail? Can you share the conf?
     
  7. Alex M

    Alex M Member

    How do I go about setting the global alias or how do I check if it is set? Thanks
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    It is probably in /etc/apache2/conf-available/roundcube.conf.
     
  9. Alex M

    Alex M Member

    I have this parameter: Alias /webmail /var/lib/roundcube
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally the default vhost is used to access webmail. By disabling the default vhost, you'll get problems to access it now. The best option for your special configuration is probably that you manually install a copy of roundcube into a website e.g. webmail.dominio.it and then access it using this domain name instead of using the global install and alias.
     
  11. Alex M

    Alex M Member

    But if at this moment I install it on a site as you say, wouldn't it create problems with the configuration of the previous mail? And would it still be possible to create a global alias to log in like that? But by default virtual host you mean 000-default? Thanks
     
  12. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Using a global alias to run roundcube under the php daemon of each individual site is insecure, if you want those urls to work, setup one site with roundcube and reverse proxy all the others to that, and ensure all your stress use https, not http.

    I simply use a redirect to the actual webmail site, which is a little simpler, but a reverse proxy would work.
     
  13. Alex M

    Alex M Member

    Ok okay, could you link me or briefly explain how to do it? Thanks
     

Share This Page