I did some bash scripts to automate this process a while ago. I prefer haproxy for easy of use.
You could check the code here github.com/mariancraciun1983/Dev-C... with a haproxy example.
Another simple solution for local aliasing, would be to have a CNAME for *.localhost.DOMAIN.com point to 127.0.0.1 . This will allow you to have unlimited hostnames.
Seems quite elegant, I'll definitely look into that. Thanks for sharing your code too!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I did some bash scripts to automate this process a while ago. I prefer haproxy for easy of use.
You could check the code here github.com/mariancraciun1983/Dev-C... with a haproxy example.
Another simple solution for local aliasing, would be to have a CNAME for *.localhost.DOMAIN.com point to 127.0.0.1 . This will allow you to have unlimited hostnames.
Seems quite elegant, I'll definitely look into that. Thanks for sharing your code too!