Frontend of my Dog Shelter Friend application running on a VPS is working correctly, and it’s time to connect it nicely to gawrysiak.eu. For someone who has never done this before, it might seem like magic, but why not give it a try?
If I weren’t on a keto diet, I’d probably say: “Hold my beer and look”.
However, this task presented some challenges for me. I managed to tackle it all by myself, without any help. Now, I know how it’s done and what it involves. The problem was that gawrysiak.eu was working fine, but dogs.gawrysiak.eu, connected to that domain on OVH, wasn’t cooperating. Here’s what I did step by step:
- First and foremost, I had to generate the appropriate SSL certificates for dogs.gawrysiak.eu. It wasn’t that hard because I was already doing it for my blog.
- I configured my Nginx properly to redirect to the specific address and port on my server. Initially, I struggled, but through trial and error, along with some lengthy discussions with ChatGPT, I managed to set up the correct configuration and edited the right file in /etc/nginx/sites-available/.
The application was still not working. A few sips of coffee and a moment of reflection… I got it! It turned out I needed to configure the firewall and open the appropriate port. Only the default ports were open. That should have been obvious, right?
After all these activities, I could finally breathe and enjoy a fully functioning application connected to my domain.
Learning through hands-on projects like this is invaluable to me because I gain diverse experiences from various fields, not just Java. Moreover, it brings me great joy; I love solving these kinds of problems, and I take immense pleasure in the accomplishment, like a child with a new toy! 😊