Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Is it possible to point a subdirectory to another domain?
I may be asking a stupid question here.
But please bear with me.
I have 165.xxx.xx.xxx and DNS A Record value of mydomain.com is set to this IP address.
I have a subfolder /var/www/html/mysub-folder and wondering if it is possible to set a DNS A Record value of this subfolder to another domain name, anotherdomain.com.
Or do I have to use another droplet?
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.×