website works fine with IP, but when you use the domain, it times out.
I've tried literally everything...
IP: http://64.112.127.73/
Website on IP: http://64.112.127.73:3000
Website: https://nexis-development.com
8 Replies
Either serve your website on port 80 and select Flexible as the SSL mode at Cloudflare.
Or install a Cloudflare origin certificate and serve your website on port 443 and select Full (Strict)
Or use a Cloudflare Tunnel which can serve your website even if it's hosted on port 3000
Whats a cloudflare tunnel
It's a secure way to expose an app to the internet by making an outbound only connection from your server to Cloudflare.
If you want to read more and/or go down that route, you can follow the guide here:
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/
Create a remotely-managed tunnel (dashboard) · Cloudflare Zero Trus...
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
can this be done on ubuntu
Yes
what is it under
Did you click on the above link, it contains instructions on how to set up a Tunnel which then gives you instructions on how to install it on Ubuntu as part of the process.
If you follow the instructions and then connect an application with your IP/port of
http://64.112.127.73:3000/
- your website will go live.
Alternatively, as mentioned above, you can adjust your Nginx configuration to proxy the app on port 80 (or 443 with an origin cert) which lets you use a normal proxied A record that'll connect successfully.i have no idea