Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Lars-Janssen's avatar

Change ip homestead

On my internship I'm making use of a new wifi network. Apparently my network has the same Ip as my vagrant homestead box. I already tried to change the ip address in my homestead.yaml file and changed my web ip in etc/hosts to 172.100.1.1 but that is not working (I did run vagrant provision).

How can I solve this?

0 likes
2 replies
martinbean's avatar
Level 80

@lars64 Set the IP address in your Homestead.yaml file, run vagrant reload, then add an entry to your /etc/hosts file to map a domain to the IP address. You should be able to use an IP address beginning with 192.168 (i.e. 192.168.99.10, as the 192.168 prefix is for devices in your local network.

4 likes

Please or to participate in this conversation.