Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multi Domain Support #560
Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.
You have multiple domains and want to link all your domains to ONE YOURLS installation.
Your webservers config file should configured simliar like this:
Copy all ("YOURLS"-related) files and folders to a new created
Copy your webservers config file to be responsive to both URLs in each seperate config file similar like this:
Configure your both config files (in comparison to example at the top) similar like this:
Now refine your
Restart your webservers config changes
That's it. Repeat it as many times you want to and as many URLs you like.
Why do I bring in the
Delete all folders are not related to YOURLS in the new
There are many more ways to fit your needs. I just want to show the concept of a way to do it. I am sure you understand it principally.
Do not forget to google about the risk of "FollowSymLinks" in your webservers config!
Greets ... G-Nick