Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website appears with http://192.168.56.101 but not with http://www.statedecoded.dev #6

Open
gregelin opened this issue Oct 10, 2013 · 5 comments

Comments

@gregelin
Copy link

Even with /etc/hosts including references, web site only appears with http://192.168.56.101 and http://www.statdecoded.dev returns default apache page.

/etc/hosts/

# various content...

192.168.56.101  statedecoded.dev  # VAGRANT: 2e293b7cc87633006e057193487decba (default) / 3711e580-44c1-4f7f-97c5-9bd462024e40
192.168.56.101  www.statedecoded.dev  # VAGRANT: 2e293b7cc87633006e057193487decba (default) / 3711e580-44c1-4f7f-97c5-9bd462024e40
192.168.56.101  statedecoded.dev  # VAGRANT: 2e293b7cc87633006e057193487decba (default) / 3711e580-44c1-4f7f-97c5-9bd462024e40
192.168.56.101  www.statedecoded.dev  # VAGRANT: 2e293b7cc87633006e057193487decba (default) / 3711e580-44c1-4f7f-97c5-9bd462024e40

I have to dig into apache configuration to find issue.

@waldoj
Copy link
Member

waldoj commented Oct 10, 2013

👍 Thanks for investigating this, Greg!

@NSkelsey
Copy link
Member

Look in /etc/apache2/sites-enabled the current vagrant setup installs apache in its vanilla form. So the site 000-default might be serving your requests.

@gregelin
Copy link
Author

@NSkelsey Yes, that is the issue. I can adjust the puppet scripts to take of the legacy enabled site. Ideally, the fact there is a host named site should handle which site is called. I opened this issue to track this needed to be adjusted.

@NSkelsey
Copy link
Member

If you look at branch devel, I updated the apache puppet module to handle this. It works for ubuntu but I am not sure if it will work in centOS

@gregelin
Copy link
Author

Great! Thanks. That will be very helpful!

On Thu, Oct 10, 2013 at 10:35 AM, NSkelsey [email protected] wrote:

If you look at branch devel, I updated the apache script to handle this.
It works for ubuntu but I am not sure if it will work in centOS


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-26058806
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants