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

Use default domain's subdomains for differenent sites #276

Open
mehrdad-shokri opened this issue Feb 18, 2018 · 2 comments
Open

Use default domain's subdomains for differenent sites #276

mehrdad-shokri opened this issue Feb 18, 2018 · 2 comments

Comments

@mehrdad-shokri
Copy link

mehrdad-shokri commented Feb 18, 2018

Is it possible to use app1.hotel.localhost instead of app1.localhsot?
I'm using self-signed certificates so I can't create certificates per domain?

I've tried ''hotel add -n app1.hotel 'cmd'`` but no luck

@typicode
Copy link
Owner

Hi @mehrdaad,

Not sure what the issue is with app1.localhost actually? If you go to https://app1.localhost, hotel will use its generated self-signed certiticate. You'll need to add an exception for it in your browser and it should work.

@mehrdad-shokri
Copy link
Author

@typicode Actually, the generated self-signed certificate isn't true too!!
It doesn't have a SAN (which is required in chrome from 58 i think).
So I generated another key.pem and cert.pem and replace with the new one but the problem is it is generated for hotel.localhost, so app1.localhost is not recognized with my certificate. so what I want to have app1.hotel.localhost app2.hotel.localhost, then I don't have to generate several certificates(Although I won't be able since hotel requires a static certificate.)

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

2 participants