[英]Namecheap domain name for DigitalOcean
Beginner question here. 初学者的问题在这里。 I tried plenty of tutorials but I cannot seem to get the domain name up. 我尝试了很多教程,但似乎无法获得域名。
Basically, I deployed my node app on DigitalOcean and the link works (I use the port 5000 jic). 基本上,我在DigitalOcean上部署了我的节点应用程序,并且链接有效(我使用端口5000 jic)。 These are the steps I took from there: 这些是我从那里采取的步骤:
I can now access the website using the domain name but I need to put the port number as well, ie. 我现在可以使用域名访问网站,但是我也需要输入端口号。 mylink.com:5000 mylink.com:5000
How do I avoid that or can someone explain me the right steps to link my namecheap domain with my digitalocean node app? 如何避免这种情况,或者有人可以向我解释将我的namecheap域与digitalocean节点应用程序链接的正确步骤? This is my first time doing this. 这是我第一次这样做。
基本上,您不能,您应该将端口80用于HTTP或将端口443用于HTTPS,以便该URL不需要端口(自动默认为端口),否则,您将必须使用反向代理(例如nginx)保持端口5000。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.