Redirect localhost:80 with Dokploy
Hi all,
I have fully setup Dokploy on my VPS and went well.
I have one question, how can I redirect all traffic to my VPS ip address on port 80 / 443 to a domain name?
I.e 111.11.11.11:80 and 111.11.11.11:443 to somedomain.com. Currently Dokploy running on port 3000 and when I reached port 80 it says 404 page not found.
I have tried to install Nginx or Caddy but both of these require port 80 to use, which is occupied by Traefik.
Any suggestion would be much appreciated and thanks for the hard work on Dokploy!
Cheers!
4 Replies
Experiencing this same issue
This isnt the normal usecase? ofc you can do it but why? 🙂 sometimes its a good thing you don´t directly se what the IP are used for
if you need port 80 you can do custom installation where you can defined custom ports
Hey sorry for the late reply, but I end up customising Dokploy setup script to free up port :80 & :443, here is the customised setup script on my gist. This is a few months old, please sync with the most updated Dokploy setup script.
I also have Caddy installed to redirect the ip address to somewhere else.
Gist
Custom Dokploy installation to free up port 80 and 443
Custom Dokploy installation to free up port 80 and 443 - dokploy.sh