I am trying to get GitLab and I want to install Wordpress alongside it. The way I would like it to be configured is to have the web access of GitLab be through “git.xyz.com” and the web access of Wordpress to be “www.xyz.com” and “xyz.com”. I’ve been looking around to see if there was a way to use sub-domains this way, but I haven’t found anything to fit this scenario. I just destroyed my last droplet and I’m starting scratch from the One-Click Install of GitLab.
If anyone has any tutorials I may have missed or any help with this, it would be greatly appreciated!
Thank you for your time, AlphaIrri
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
a 2nd vhost with passenger enabled and configured, pointing to the RAILS project folder (where the Gemfile is kept) would do the job. Another method would be to use mod_proxy and have GitLab listen on the loopback, and serve out via the apache mod_proxy.
passenger would be best, in my opinion.
here’s an article on how to use passenger with gitlab
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.