46 thoughts on “hosting of a website – Amazon EC2 Free Hosting Setup for PHP and MySQL

  1. Hello, this is a great explanation! Help please!
    I have my index file in a folder in the htdocs folder. Although I can see that xampp is working through my IP address, it won't pull through to my godaddy domain name. Can anyone help me fix this?

  2. If you are getting an error like:
    "/opt/lampp/etc/extra/httpd-xampp.conf" E212: Can't open file for writing
    (this is because you don't have necessary permission to modify this file)
    to resolve this issue, do this:

    sudo su –
    vi /opt/lampp/etc/extra/httpd-xampp.conf

    [do required changes -> press Esc key -> :wq! (including colon sign)]
    sudo /opt/lampp/lampp restart

    VOILA! You got this. 😉

  3. Host your website and applications with JachOOs Cloud Hosting on AWS platform with unlimited SSD space, 30 days 2 times daily backup, unlimited email accounts, one click WordPress and other applications installer and much more protected with Imunify360 and ModSecurity powered by cPanel control panel. Highly reliable hosting on Amazon Web Services platform. See packages: https://jachoos.net/client/cart.php?gid=14
    [email protected]JACHOOS.NEThttp://WWW.JACHOOS.NET

  4. Hello,
    Great video and a wonderful guide. It seems that my httpd-xampp.conf looks different and I do not have the LocationMatch. When I try to add this to my code I still get error when trying to access to phpmyadmin, any clues what should I do?

  5. Thank you for an excellent tutorial. Every time i restart i get the following message.
    Restarting XAMPP for Linux 7.2.30-0…

    XAMPP: Stopping Apache…ok.

    XAMPP: Stopping MySQL…ok.

    XAMPP: Stopping ProFTPD…ok.

    XAMPP: Starting Apache…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    /opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    XAMPP: Starting MySQL…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    XAMPP: Starting ProFTPD…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    can anyone guide, what is the issue?
    Thanks

  6. first, you have to

    <Directory "/opt/lampp/phpmyadmin">

    AllowOverride AuthConfig Limit

    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

    To replace with this

    <Directory "/opt/lampp/phpmyadmin">

    AllowOverride AuthConfig Limit

    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

  7. In new Xamp please use

    <Directory "/opt/lampp/phpmyadmin">

    AllowOverride AuthConfig Limit

    Order allow,deny

    Allow from all

    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

    instead of this

    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">

    Require local

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </LocationMatch>

    to

    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">

    Order deny,allow

    Allow from all

    Allow from ::1 127.0.0.0/8

    fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

    fe80::/10 169.254.0.0/16

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </LocationMatch>

  8. Around 8:00 to 8:10 … Password given for demo.pem. We have created this file & stored at the client. But, what is the password for this ? Is it Windows login password ? This went bouncer for me, as you became mute. I understand, you will not utter the password.
    While I have created this .pem file; that time I was not asked for to create any password.

Leave a Reply

Your email address will not be published. Required fields are marked *