I have seen some queries and I have tried to solve but I have not succeeded, I have basically published a wildfly which I access from any browser, putting the IP address and the listening port example: ##.##.##.##:port, and it works great, I bought a domain name and followed the procedure to delegate it to digitalocean’s DNS (ns1.digitalocean.com, ns2 …) additionally when it didn’t work, add hostname www to the domain to try to enter www.sitename.com:port but it still doesn’t work for me, any idea what is my problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi @rramirezech,
You’ll need to add the domain to your WebService. Your WebService is either Nginx or Apache. If you are unsure which one you are using, you can easily check by going to your droplet via SSH and typing the following command
This will output what’s listening on port 80. If it’s Apache2/httpd, then you are using Apache, if it shows Nginx, well then it’s Nginx.
Now, based on the output, I’ll recommend you checking one of the following articles on how to create your virtual configuration (vhost) so that your domain actually works porperly.
If it is Apache, check out the following article:
If it is Nginx :
Regards, KFSys