Installing free cpanel in Amazon Cloud Hosting

ziycon

  • Posts: 126
APRAI - Custom Theme - SMF 2.0.5


MultiformeIngegno

  • Posts: 1,337
Re: Installing free cpanel in Amazon Cloud Hosting
« Reply #16, on May 2nd, 2013, 12:45 PM »
public_html folder is something related to shared hostings. You have to install php(5-fpm) (if you're using php pages), apache / nginx as web servers. Then you configure virtual hosts and choose the folder.

Wanchope

  • Posts: 234
Re: Installing free cpanel in Amazon Cloud Hosting
« Reply #17, on May 3rd, 2013, 05:10 AM »
Quote from MultiformeIngegno on May 2nd, 2013, 12:45 PM
public_html folder is something related to shared hostings. You have to install php(5-fpm) (if you're using php pages), apache / nginx as web servers. Then you configure virtual hosts and choose the folder.
I am trying to edit /etc/apache2/sites-available/mysite
Code: [Select]
DocumentRoot [b]/var/www[/b]
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory [b]/var/www/[/b]>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

I want to change document root to /home/user/public_html/, this will enable the users I created have access to document root an access Apache web server but It cannot save, the mysite content keep on telling me that I have no permission to perform the task,if I use $ sudo nano /etc/apache2/sites-available/mysite after editing the file, it will save as mysite1.save, mysite2.save,mysite3.save which also I cannot delete.