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

Duplicated additional hostname breaks ddev start #789

Closed
tmotyl opened this issue Apr 16, 2018 · 2 comments
Closed

Duplicated additional hostname breaks ddev start #789

tmotyl opened this issue Apr 16, 2018 · 2 comments
Assignees
Milestone

Comments

@tmotyl
Copy link
Contributor

tmotyl commented Apr 16, 2018

What happened (or feature request):

I have added an additonal hostname with the same name as project name. This prevented ddev from starting.

What you expected to happen:

I would expect ddev to ignored duplicated name, or fail with a meaningful error saying what is wrong.

How to reproduce this:

copy project name (name attribute value) to additional_hostnames
call ddev start

@rfay
Copy link
Member

rfay commented Apr 16, 2018

This is definitely true, is mentioned in the docs I think but it's worth solving and not too hard.

Also, of course, the name can't be duplicated among projects, that's a harder problem to solve.

@rfay
Copy link
Member

rfay commented Apr 30, 2018

What you see when this happens:

DDEV ROUTER STATUS: unhealthy
The router is not currently running. Your sites are likely inaccessible at this time.
Try running 'ddev start' on a site to recreate the router.

docker logs ddev-router shows

"GET /healthcheck HTTP/1.1" 404 169 "-" "curl/7.52.1" "-" nginx.1 | 2018/04/30 13:43:36 [error] 35#35: *233 open() "/usr/share/nginx/html/healthcheck" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /healthcheck HTTP/1.1", host: "localhost"

@rickmanelius rickmanelius added this to the v0.19.0 milestone May 7, 2018
@rfay rfay closed this as completed in addffd6 May 21, 2018
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

4 participants