simple-magento-vagrant icon indicating copy to clipboard operation
simple-magento-vagrant copied to clipboard

Custom .DEV Domains?

Open toobulo opened this issue 9 years ago • 1 comments

How would we go about setting up a custom domain for development, (such as .DEV) as opposed to using the IP address and Port number?

toobulo avatar Jul 18 '15 00:07 toobulo

Hey there, just change the ip address in the bootstrap file for your custom domain, then update your host machine's hosts file to point your custom domain to 127.0.0.1.

E.g. change http://127.0.0.1:8080 to http://mydomain.dev

Finally, in the vagrantfile change: config.vm.network :forwarded_port, guest: 80, host: 80

rjbaker avatar Jul 20 '15 12:07 rjbaker