Thank you so much! I've been searching for days and tried various methods posted on internet and none of it works, at least for me, but yours video and clear instruction are very helpful and it WORKS!
HELLO! THANK YOU SO MUCH FOR THIS VMIDEO! I’m so stressed of thinking about how to make this thing work, I never knew I had to edit the users under https conf... thank you so much for your video!
I was following step by step but Access forbidden is all I'm getting, even after changing the User to my name and group to admin. Any ideas why? Thanks! Great video though, I am just new to this
Anish, when I go to Terminal to add direct local in my host file I have a line missing when I execute the command "localhost added by Apache Friends XAMPP" and I cannot add anything further. Could you please advise?
I have entered ' sudo vi /etc/hosts ' as per your instructions and after entering my password I got the following : ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost the last line that you have in your video ' 127.0.0.1 myname #added by Apache Friends XAMPP ' was not there... I tried to ignore this and followed through all of the rest of the instructions but I assume without this my "Access is forbidden" Any idea what I missed?
Dear Melinda You need to enter manually the Host name pointing to Loopback IP 127.0.0.1 for example You enter "127.0.0.1 melinda.dev" in host file and vhost.conf you added custome folder path exaple you webfolder is on desktop so path will /User/Melinda/Desktop/webfolder so it will allow that folder to access by vhost name melinda.dev also in httpd.conf file you need to change login name from demon and group
Dear Melinda You need to point hostname to your loopback address for example if you created dev.localhost in vhost file in xampp then you should enter "127.0.0.1 dev.localhost" in hostname then only the system will able to resolve hostname in your local loopback IP.
I've done all things in ur video, also I've changed User and Group to my username and group, but when i restarted apache server I got this msg : "ERROR: Failed to restart "apache": cannot stop service: AH00543: httpd: bad user name suryahartono" Please help 😭
Not recommended to directly host xampp server online but using portforwarding can be possible. i use VPS server Online and Git to Push dev to production.
Hi Anish, I downloaded the xampp twice and still gives me error says that "cannot calculate MAC address: Unable to create VM (-85377018)" After I click on start !!
# localhost ServerName localhost DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" Options Indexes FollowSymLinks Includes execCGI AllowOverride All Require all granted -------------- for your host -------------- # My custom host ServerName mysite.local DocumentRoot "/Users/yourusername/path/to/your/site" Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted ErrorLog "logs/mysite.local-error_log"
Thank you so much! I've been searching for days and tried various methods posted on internet and none of it works, at least for me, but yours video and clear instruction are very helpful and it WORKS!
HELLO! THANK YOU SO MUCH FOR THIS VMIDEO! I’m so stressed of thinking about how to make this thing work, I never knew I had to edit the users under https conf... thank you so much for your video!
Thank you! It WORKED! Saved my day!
Many thanks, very helpful!
Thank you @Anish Mandal
I did it successfully
help me pls
You can do a video show how to configure vhost to use https ?
but where do the two ANISNET and ANISHNAMED folders pop up? When did you create them and what did they contain?
Those are Webpage files the point i cleare how we can host multiple website for Dev environment
thank you
@@AnishMI can you detail this more?
@@amylam4349 Its simple directory i created on my Desktop and added index.php or plain index.html
i have a mac too for the localhost can i use the albert localhost wich we used to the windows
yes just update host file in mac same as windows
I have the problem, that i can make chances in the vim-sudo setting (time 11:01), what did i wrong? Can anybody help me??
goto that location and open hosts file with any text editor and do changes
I was following step by step but Access forbidden is all I'm getting, even after changing the User to my name and group to admin. Any ideas why? Thanks! Great video though, I am just new to this
Dear +itsrustyc please repare file permissions using disk utlity and check.
@@AnishMI please tell me how to do it i am also facing same problem
@@AnishMI i did everything as in video but still i have file permission problem
@@PrashantMane12 See httpd Users and Group name rights if its proper Please fix file permission from MAC Disk Repai utility
Anish, when I go to Terminal to add direct local in my host file I have a line missing when I execute the command "localhost added by Apache Friends XAMPP" and I cannot add anything further. Could you please advise?
what exact command you type in terminal ?
I have entered ' sudo vi /etc/hosts ' as per your instructions and after entering my password I got the following :
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
the last line that you have in your video ' 127.0.0.1 myname #added by Apache Friends XAMPP ' was not there...
I tried to ignore this and followed through all of the rest of the instructions but I assume without this my "Access is forbidden"
Any idea what I missed?
Dear Melinda You need to enter manually the Host name pointing to Loopback IP 127.0.0.1 for example You enter "127.0.0.1 melinda.dev" in host file and vhost.conf you added custome folder path exaple you webfolder is on desktop so path will /User/Melinda/Desktop/webfolder so it will allow that folder to access by vhost name melinda.dev also in httpd.conf file you need to change login name from demon and group
Dear Melinda You need to point hostname to your loopback address for example if you created dev.localhost in vhost file in xampp then you should enter "127.0.0.1 dev.localhost" in hostname then only the system will able to resolve hostname in your local loopback IP.
I've done all things in ur video, also I've changed User and Group to my username and group, but when i restarted apache server I got this msg :
"ERROR: Failed to restart "apache": cannot stop service: AH00543: httpd: bad user name suryahartono"
Please help 😭
How do you host the xampp server online?
Not recommended to directly host xampp server online but using portforwarding can be possible. i use VPS server Online and Git to Push dev to production.
Hi Anish, I downloaded the xampp twice and still gives me error says that "cannot calculate MAC address: Unable to create VM (-85377018)" After I click on start !!
What is OS version of your Mac
10.12.5 (16F73) and my mac is mid 2010 :')
please can you copy the code here so i can just paste it there , i am having issues with my xammp installation on mac
# localhost
ServerName localhost
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
--------------
for your host
--------------
# My custom host
ServerName mysite.local
DocumentRoot "/Users/yourusername/path/to/your/site"
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
ErrorLog "logs/mysite.local-error_log"
Hi Anish! I did all the steps but when I tried to open my localhost it always prompt me back to the "Welcome to Xampp" :(
The same case to mine
same problem
Thanks very much
why my MySql Database is can't to start?
This works! thanks
Welcome
what files do i save in "dev"?
its Web container whatever html php or framework file you can save which can access using URL
Thank you very much!!!
thanks
thanks anish!
Welcome
thanks!