PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 8, 2022

[FIXED] Defining Custom URL in MacBook for laravel

 January 08, 2022     laravel, macos, virtualhost     No comments   

Issue

I just migrated from a windows based laptop to a macbook. I'm pretty new to MacOS

I'm developing a laravel project in my mac and I want to access the url through custom domain using virtual host such as mylaravel.com or something else, i'm not using xampp, only php, and composer.

for example: currently I access my laravel project through:

sudo php artisan serve --port=80

and this is the url to access my

localhost

what I want is the following url:

mylaravel.id

How can I achieve it?

Thank you.


Solution

you can use laravel valet. look at this documentation.



Answered By - Majid Vahidkhoo
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing