How to bind a domain name when a react program is released

Express + react write an application online, URL http://IP:port/supplies/id parameter. Now there is a domain name, such as abc.cn,. I want to bind this domain name to achieve abc.cn/supplies/20005 access, but I don"t know how to configure it. Package.json: "homepage": "abc.cn:3000/supplies", it doesn"t work.

No tomcat appche


binding a domain name is your domain name resolution business, which has nothing to do with react

as long as your domain name can be resolved to your ip, there will be no problem

 http://IP:port   =>    http://www.abc.com
Menu