Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Joomla.box is not in hosts of the vagrant machine #16

Closed
javigomez opened this issue Jan 28, 2016 · 2 comments
Closed

Joomla.box is not in hosts of the vagrant machine #16

javigomez opened this issue Jan 28, 2016 · 2 comments
Milestone

Comments

@javigomez
Copy link
Contributor

Hi, I'm not skilled in vagrant and I'm not sure about the right way to to fix this, let me explain the issue:

capture 2016-01-04 at 14 02 05

Of course if I do a curl from the host (MacOS) it works because I have it in hosts:

screen shot 2016-01-28 at 14 05 24

However if I do a curl from the Vagrant ssh:

screen shot 2016-01-28 at 14 06 05

I guess the solution is adding joomla.box as host in the Vagrant machine but not sure.

I must say that this was not an issue in joomla-vagrant, is only happening in joomlatools-vagrant.

If you can point me to the right place, I'm happy to test and send a fix.
Thanks

@johanjanssens
Copy link
Member

@javigomez thanks for the excellent bug report. This helps a lot. This sounds to be an issue that also goes over my head. Assigned it to @stevenrombauts our box master. Steven is currently enjoying a well deserved holiday, he will look into it when he is back.

@javigomez
Copy link
Contributor Author

A manual way to solve:

vagrant ssh

sudo vi /etc/hosts

modify the line:

127.0.1.1       joomlatools 

for:

127.0.1.1       joomlatools joomla.box

Save and exit vi editor

Reestart the server with:

box server:restart

The issue should be fixed

@stevenrombauts stevenrombauts added this to the 1.4.4 milestone Mar 10, 2016
stevenrombauts pushed a commit that referenced this issue Apr 7, 2016
@stevenrombauts stevenrombauts removed their assignment Apr 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants