Forum: 
Tags: 

Magento domain issue / local testing

Joe's picture

Hi, I'm having issues accessing my magento appliance via a web browser. When I try to type in the IP address assigned by my home dhcp server, it just forwards to whatever the domain setup was, shop.example.com

 

I just want to test with the http://ipaddress/

 

What do I need to do?

Jeremy Davis's picture

You just need to re-run the first boot script. From the commandline:

/usr/lib/inithooks/bin/magento.py

I think that you should be able to use an IP address rather than a FQDN.

Another way (or if it won't let you set an IP) is to leave the appliance as-is and just add an entry to your local machine hosts file (ie the machine with the web-browser you are trying to use). To do that I suggest you google your specific OS and you should find easy instructions on that. Basically you will just need to point the FQDN to the IP.

Ignacio's picture

Thanks Jeremy!

Joe's picture

setting the ip in the script worked. Thanks.

Jeremy Davis's picture

Glad to hear it worked, and good to know for sure for future reference. Thanks for posting back.

Steven's picture

Hey Thanks! I had same issue and this worked for me.................

Brilliant!

stefano's picture

the solution is to set the ip you get from vmware appliance into the domain requested when you launch the reconfiguration with:

/usr/lib/inithooks/bin/magento.py

 

CIAOOOOOOOOOOO

Rene's picture

Yes this did the trick for me. Thanks for posting.

Post new comment