This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a subdomain on AWS EC2 (Apache2) | |
sudo mkdir -vp /var/www/vhosts/myapp.io/httpdocs | |
sudo chown -R ec2-user:apache /var/www/vhosts/myapp.io/httpdocs | |
mkdir -vp /var/www/vhosts/myapp.io/logs | |
sudo chown -R ec2-user:apache /var/www/vhosts/myapp.io/logs | |
sudo touch /etc/httpd/sites-enabled/myapp.io.conf | |
``` |