0

I m trying to create virtual host in my ubuntu 18.04 for my laravel project and i had installed xampp as well but there is no any apache2 folder created in my /etc folder so that i cant find sites-available/ folder How to create virtual host in that case?

Vhndaree
  • 594
  • 1
  • 6
  • 20

2 Answers2

1

You can check this link and follow the given simple steps :

How To Configure Apache Virtual Hosts In Ubuntu 18.04 LTS

If ant any point you find any difficulty please let me know, I will try my level best to provide solution.

Prabhu Nandan Kumar
  • 1,205
  • 12
  • 22
1

First of all, you'll have to install a Lamp Stack. You can follow this guide for it.

Then you can use this other guide to set up an Apache Virtual Host.

Note: You don't need Xampp at all.

enbermudas
  • 1,603
  • 4
  • 20
  • 42