Posts

Showing posts with the label aws

Running multiple domains on one NGINX server

In addition to westsloth.com domain we have now registered westsloth.fi domain for our planned business in Finland (mostly HW/SW consulting and financial and office management services). As we are doing this part-time, we want to keep web hosting costs in control. Therefore we wanted to run the web pages of both domains on same server. The original homepage of WestSloth Games (westsloth.com) has been running on single AWS Lightsail instance. In this solution, the monthly expenses are well-know in advance. But on the other hand server capacity is limited to some level. Anyways, the load for westsloth.com has not been too large for the Lightsail instance to handle it. So we thought we can easily run westsloth.fi on same server too. Westsloth.com webserver is built using NGINX, Gunicorn and Django framework plus local MySQL database. Web page is built using Bootstrap front-end framework. Adding another domain to NGINX setup was done by following these instructions on applicable ...

WestSloth Games: New website with brand-new domain!

Image
In addition to game development hobby I have improved my web development skills by creating and developing websites for my own purposes. Now I have taken a step towards cloud services and web backend by releasing brand-new landing page for our released games: http://www.westsloth.com/ Page features: - Single-page, album-style design - Responsive, scales for all screen sizes - Admin console with login for adding/removing/modifying games entries easily Under the hood: - Django web framework - Bootstrap front-end component library - Local MySQL database. Option to use Postgresql e.g. from Amazon RDS - Gunicorn Python WSGI HTTP server - NGINX web server - Runs on single Amazon Lightsail instance (AWS EC2, in practice) - Amazon Route 53 for domain hosting and DNS Basically, building simple landing page using Django was surprisingly easy: There are plenty of good tutorials available all over the web and almost all issues were solved by googling error messages. It took me...