If you want to access your React project using the domain myreact.site.com
locally, you may need to add an entry to your hosts file to map it to 127.0.0.1
.
1. Edit the hosts file located at C:\Windows\System32\drivers\etc\hosts
(on Windows) with administrative privileges, and add the following line:
127.0.0.1 myreact.site.com
2. Save the hosts file.
3. Once you've made these changes, you should be able to access your React project locally using the domain myreact.site.com:3535