How to change localhost to custom domain name Laravel Project

preview_player
Показать описание
This is a short and easy tutorial to change localhost to custom domain name (Laravel Project).

Steps:
2. Open hosts file (File location: C:\Windows\System32\Drivers\etc\hosts)
Add:
(Angle brackets)VirtualHost *:80(Angle brackets)
DocumentRoot "C:\xampp\htdocs\blog\public"
(Angle brackets)/VirtualHost(Angle brackets)
Рекомендации по теме
Комментарии
Автор

cant access using server name in browser, but i cant access the system when i type localhost. wtf help me pls

angelitosaguyod
Автор

do you still run php artisan run serve??

eliezerciriaco
Автор

i have a problem. When I type cms.local, the browser loads dashboard of xampp (
I have did as the video)
How can i fixx it?

jsdeveloper
join shbcf.ru