Hello everyone,
I have finished developing my web application with AWAREIM 9.0 on my laptop.
I now want to deploy this application on a VPS (Virtual Private Server) Windows 2022.
I have installed MySQL, Java, and AWAREIM 9.0 on the VPS, and the application is working properly without any issues.
Can someone help me configure my VPS so that users around the world can connect to my AWAREIM web application on the VPS from a browser ?

First of all, no reason calling it a “VPS “. It’s just your server, running Windows 2022 if anyone asks.

Your server should have a public IP address.
Your server might also be running Internet explorer on port 80.
You don’t need that because Tomcat’s running on 8080, until you change it to 80.

Then you need to register a domain so “the world “can find your website.
In the DNS of that, you’re just gonna Direct it to your public IP address.

If you can run your app In a browser right now, you should post to this thread, your exact URL.
That may help the next person help you more, but that will tell many of us some valuable information.

  • herr replied to this.

    Jaymer Hi Dear, Thanks for your response. The DNS is already configured for me by GoDaddy

      herr Have you export your BSV into your VPS?
      If you need more help, then maybe I can help you.

      • herr replied to this.

        Thanks Dear, The Application runs very well on the Server (VPS).
        What i need is how to config the server so that others users can access to the application from their browser anywhere in the world.

        Default HTTP port is 80, (what Jaymer said) so you will have to configure a Tomcat connector to listen to that port. Easiest is just to change the default connector in server.xml from port 8080 to 80 and restart the AwareIM control panel for the changes to take effect.

        If your domain is www.example.org, and your Public IP is 10.20.30.40, then your DNS record should look like this:

        Type: A record
        Host: www
        Data: 10.20.30.40

        Let me know if you are stuck on a specific step.

        What you are showing us is Internet Information Services (IIS). It is the official Windows web server.

        You will need to use Tomcat as the web server, unless you are setting up some proxy solution.
        IIS is going to clash with Tomcat. You should uninstall it, or at least disable the service.

        • herr replied to this.

          GoDaddy setup the configuration of the DNS for me
          Please, tell me how can i access to the DNS configuration screen

            Find the file in C:\AwareIM\Tomcat\conf called server.xml. (hint: create a shortcut and put on your desktop).

            Modify the Connector and make sure the port is set to 80. Restart AwareIM control panel.

            • herr replied to this.

              joben So i have to delete what o added on Internet Information Services (IIS), right ?

                herr

                Not familiar with GoDaddy, but you need to be able to edit the zone manually.

                herr Yes. AwareIM already comes with a web server (Tomcat).

                It looks like your DNS is already correctly configured.

                You can open a command prompt and test it yourself:

                ping ecertifikat.com
                ping www.ecertifikat.com

                Both reply with 64.202.191.87

                Let me try to modify the AWAREIM server.xml in the path C:\AwareIM\Tomcat\conf

                I can reach your default IIS website. This means that no firewall is blocking your website.
                This is good news. Should be working if you get rid of IIS and make sure the Tomcat connector is configured properly 🙂

                Just modified server.xml in the path C:\AwareIM\Tomcat\conf

                it still not good, i got error message

                  In GoDaddy you need to add a DNS record for your domain that will act as the "URL" to point to the IP of your server.

                  An example would be app.yourdomain.com in the URL (Host) area in the picture and then the IP of the server in the IP (Value) section.

                  Which basically means if they type in something along the lines of ...app.yourdomain.com:8080/AwareIM/loginPage.html, the app.yourdomain.com part will be "replaced" with the IP of your server. It does NOT display the IP in the browser, it is just used during the connection to point to the correct place.

                  Please note I am not an expert on this, it is just how I managed to do it. You will also have to set up SSL for the Tomcat server so your users don't get the "Connection is not Secure" message most browsers display when SSL is not used/set up properly when you try use https.