Check out the pricing models for VMC-AWS. This looks promising, however, I’m a little weary about the data transfer charges.
After many hours of tinkering, below are the steps I’ve used to run 2 WordPress sites on one LightSail instance. This is assuming that you have DNS running and you have your A records set correctly. In my case its techstuff and introspection.
I would’ve made my life a lot easier if I just went with /techstuff and /introspection. But the having subdomains just sounds better.
After deploying the LS instance, I assigned it an Elastic IP.
Downloaded my SSH Key Pair.
Logged into my LS Instance
ssh -i “ssh_public_key_pair.pem” username@elastic_ip
Download the bitnami wordpress stack module.
Changed the permissions on the file
chmod a+x “bitnami-wordpress-VERSION_NUMBER-module-linux-x64-installer.run”
Run the installer
sudo ./bitnami-wordpress-VERSION_NUMBER-module-linux-x64-installer.run –wordpress_instance_name BLOG_NAME
Choose the language you wish to use
Choose the location of the Bitnami
Enter the root password for MySQL
Repeat this to have more than one WordPress site.
If you want to give your WordPress site its own subdomain, like https://techstuff.napiza.org, run the following from inside the newly created WordPress site
sudo ./bnconfig –appdomain SUBDOMAIN.DOMAIN_NAME
and that should be it.
Hope this saves time for anyone trying to run multiple WordPress sites on a single Amazon LightSail instance. It took me a couple of days to stumble upon what I wanted to accomplish.
Any questions feel free to contact me.
Newly-ish created VPS is getting attacked
Oct 9 13:28:52 ip-xxx-xx-xx-xxx sshd: Received disconnect from 220.127.116.11: 11: Bye Bye [preauth]
Oct 9 13:28:53 ip-xxx-xx-xx-xxx sshd: reverse mapping checking getaddrinfo for niggacanttouchme [18.104.22.168] failed – POSSIBLE BREAK-IN ATTEMPT!
Oct 9 13:28:53 ip-xxx-xx-xx-xxx sshd: Received disconnect from 22.214.171.124: 11: Bye Bye [preauth]
Oct 9 13:28:54 ip-xxx-xx-xx-xxx sshd: reverse mapping checking getaddrinfo for niggacanttouchme [126.96.36.199] failed – POSSIBLE BREAK-IN ATTEMPT!
Oct 9 13:28:54 ip-xxx-xx-xx-xxx sshd: Received disconnect from 188.8.131.52: 11: Bye Bye [preauth]
Oct 9 13:33:08 ip-xxx-xx-xx-xxx sshd: Address 184.108.40.206 maps to broadband.time.net.my, but this does not map back to the address – POSSIBLE BREAK-IN ATTEMPT!