Hello,
We own a block of IP addresses and I want to use one that is not our default outgoing address. The outgoing IP, which is also the license IP and thus server IP for directadmin, is .132, but because this IP has ports 80 and 443 already in use for a different service, I need to use .134.
Good to know: we're selfhosting on LAN IP, which is listed as the eth0 interface on the server.
What I have done so far:
What am I missing? Do I need to configure the webserver differently, do I need to change something through Directadmin panel or did I miss something in our firewall settings?
Thank you very much in advance for any replies and help
Edit: some additional info that might help: running on Debian 10.8 with Apache. I installed Directadmin with the standard script by following the official guide.
We own a block of IP addresses and I want to use one that is not our default outgoing address. The outgoing IP, which is also the license IP and thus server IP for directadmin, is .132, but because this IP has ports 80 and 443 already in use for a different service, I need to use .134.
Good to know: we're selfhosting on LAN IP, which is listed as the eth0 interface on the server.
What I have done so far:
- Add the .134 IP as eth0:1 in interfaces config (with gateway .132)
- Add the .134 IP in Directadmin panel and assigned it to my user (.132 is listed as server, .134 is now listed as owned)
- Setup DNS for my domain name to resolve to .134, which nslookup confirmed
- Setup our network firewall to portforward the external IP .134 to the internal IP on both ports 80 and 443
What am I missing? Do I need to configure the webserver differently, do I need to change something through Directadmin panel or did I miss something in our firewall settings?
Thank you very much in advance for any replies and help
Edit: some additional info that might help: running on Debian 10.8 with Apache. I installed Directadmin with the standard script by following the official guide.