Set up lampp on linux - ubantu
Step1 : Update && upgrade package sudo apt-get update && upgrade Step 2: install apache2 sudo apt install apache2 Step3: Adjust the firewall to allow web traffic sudo ufw app list If you look at the Apache Full profile, it should show that it enables traffic to ports 80 and 443 : sudo ufw app info "Apache Full" Step4: Set up your location suppose path is /home/gulshan/Projects && url will be http://projects then for this set up *Disable the old config* sudo a2dissite 000-default.conf *Create new config with name projects.conf* *Add this to them* <VirtualHost *:80> ServerAdmin webmaster@projects ServerName projects ServerAlias projects DocumentRoot /home/gulshan/Projects <Directory /home/gulshan/Projects> Options Indexes FollowSymLinks AllowOverride all ...