I’m using CentOS 7.2 & the corresponding layout as seen here.
So, I have a few VMs that host sites and I elected *not* to move on with AWS due to my very strained budget and it’s using Ubuntu and docker.
That being said, I kept an Ubuntu VM and it can’t share port 80 due to just a single Internet connection inbound and I was forced to make changes.
Here’s what I did to get around it (mind you, none of this is actual):
Take your /etc/httpd/sites-enabled file and make some additions:
# cat blog-toloughlin.conf
RedirectPermanent / http://www.blog.toloughlin.com:81
# optionally add an AccessLog directive for
# logging the requests and do some statistics
Next time you visit that domain, it’ll push the traffic back to port 81 (translated by your router).
Caveat: you’ll see :81 in your URL bar and some of your site may not work correctly (things coded to use the domain & no port numbers).
It’s hackey, but it works … fairly well.