I hope that makes sense.

Basically, we’re going to have a javascript app running at domain.com, and I want Wordpress installed on domain.com/blog. It’s better for SEO to do domain.com/blog rather than blog.domain.com. So the javascript app would be one droplet, and then the Wordpress install would be another droplet. Is there a way to set it up with a CNAME or something to have /blog point to one droplet and everything else on the domain point to the other droplet?

Domain was registered at namecheap.

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.

Submit an Answer
1 answer

The only way I know of to accomplish your intended result is to have a load distributor like Varnish processing the paths. For example, you would have your domain name pointed at your varnish server, another server with your domain.com, then another server with your domain.com/blog. Varnish would process requests to your main domain and the /blog.