Report this

What is the reason for this report?

Website Redirect

Posted on October 29, 2017

Hello digital ocean! :) I set up my website installed apache, mybb and other main things like phpmyadmin. When i go to my website lets pretend my website is digitalocean.com. I need the website to go to digitalocean.com/forum/ instead of going to digitalocean.com. Is this possible?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you change the document root for that vhost, you’ll get /forum/index.php as /index.php, but you will no longer be able to see /phpmyadmin/.

It’s usually easier to put each application in it’s own vhost and point a bunch of names at your webserver. That will give you phpmyadmin.yourdoamin.com as one name, and yourdomain.com as the one that serves the forum.

Then you just need one virtualhost in your apache config and one A record for each name.

It also means you can use different authentication options on your phpmyadmin without it breaking other stuff by accident.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.