skip to Main Content

I finished my web project, the application server used is Wildfly 30, I made the deploy of the application without any errors now my problem is how I do to turn my application in production on my domain server. If I put in my browser ipaddress:8080/itcmedbr my login page is loaded but if I put only itcmedbr.com that is my domain name, I receive "No possible to access this site." That is my first time that I work to load my project on my domain server in production.
I appreciate any suport.
Thanks and best regards.

after made the deploy by Wildfly console I searched where my file war and this is the result:
find / -name itcmedbr.war
/opt/wildfly-30.0.1.Final/standalone/tmp/itcmedbr.war

2

Answers


  1. all that the group said me to made I made and nothing solved my problem, I setup my ip address on /etc/hosts, I alter domain.xml and host.xml and problem still the same, are there a doc to configure a domain name into wildfly 30? I read Wildfly Getting Startted Guide and Administration Guide but I can’t see where I configure my domain name.

    Login or Signup to reply.
  2. You do not configure the domain name in WildFly.
    You say that when you type

    http://<ipaddress>:8080/itcmedbr
    

    the application loads. Now, The structure of HTTP requests for any application server is following:

    http://<hostname>:<port>/<appname>
    

    Next question is: Do you have a DNS for the name "itcmedbr.com" pointing to the IP address of your host? If yes, then you should be able to access the application by typing

    https://itcmedbr.com:8080/itcmedbr
    

    If that does not work, it means your DNS is not working. Remember, the port number 8080 and the "/itcmedbr" part after the port number are mandatory.

    If you want to access your application only by typing "https://itcmedbr.com&quot;, then you need to either:

    • Setup a web server / proxy in front of WildFly that will redirect the normal web requests (ports 80 for http or 443 for https) to port 8080 and the application context "/itcmedbr", or
    • Change the default WildFly port to 80 instead of 8080 – but in this case you will still have to type the "/itcmedbr" after the hostname, i. e. the address will be https://itcmedbr.com/itcmedbr

    The first option is the best as you can control great many things with the proxy, but it is also more complicated.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search