Wednesday, May 22, 2013

How to config Apache2 and domain

1. follow this instruction
2. cd /etc/apache2/sites-avalible/your-domain-name
3. sudo a2ensite (reference to this link)
4. sudo service apache2 reload
Note: make sure to do portforwarding if apache is behind the router. Step # 3 may not be needed.

No comments:

Post a Comment