How to create vHost in Xampp | Xampp configure
JoinCoder
#JoinCoder#JC#Techcode#coder#helpCode#xampp 1- How to install Wampserver in Windows 10 for 2021 https://youtu.be/XdEAH-vDUw8 2- How to create host in Wampserver https://youtu.be/CNeVXmW6zUM 3- How to change port in Wampserver https://youtu.be/Rl43fOujwvg
Step 1: Open httpd.conf file present in C:\xampp\apache\conf\httpd.conf Remove the #(hash) sign present to include the “httpd-vhosts.conf” file in httpd.conf file.
Step 2: Create a virtualhost file. Open “httpd-vhosts.conf” file. And copy the below lines of code.
ServerAdmin webmaster@xamplocal.com
DocumentRoot "C:\Hosting\youtube"
ServerName xamplocal.com
ServerAlias www.xamplocal.com
Step3: Open C:\Windows\System32\drivers\etc\hosts Add the below line at the end of file. Restart apache server and visit the site URL.
Share your idea to the world . Thank for your comment
*** FOLLOW ME: Follow us on Instagram: https://www.instagram.com/joincoder.official
Follow us on Twitter: https://twitter.com/Join_Coder Like us on Facebook: https://www.facebook.com/joincoder.Official ... https://www.youtube.com/watch?v=fGe2d-PX9_g
32367091 Bytes