Reputation: 1112
Let's say this is my domain: http://www.example.com.
And I have two servers available for it, one is from godaddy, one is from heroku.
Now I want to set up the DNS such that I can host all the images and xml files in godaddy (does not support SSL) and the PHP and HTML in heroku would be able to use them (via HTTPS, so that there won't be this warning: page includes other resources which are not secure.).
Is it possible? How should I configure the DNS?
I am not very experienced with DNS and working with servers so it would be great if anyone can teach me how this is done, thank you.
Upvotes: 2
Views: 106
Reputation: 1047
images.example.com
and XML.example.com
.Update:
Upvotes: 1
Reputation: 149
i do not think that a domain can be mapped to 2 different servers (IP), what you can do is that you can create a sub domain like files.example.com on godady and upload all the images and xml files there and set the main domain example.com at heroku.
Upvotes: 1