I have an Elastic IP
192.0.2.4 for my EC2 instance for example.
I have a GoDaddy domain name
www.example.com for example
I want my domain name www.example.com to load pages from
http://192.0.2.4/a_sub_directory/ -- I have two queries about that.
The other forums I browsed through (ServerFault and Quora) suggest I need to re-write the A Host's @ record to the Elastic IP that's connected to my EC2 instance. What if I want the domain name
http://www.example.comto load up my page at
http://192.0.2.4/a_sub_directory/instead of the root directory at
GoDaddy domain manager has something called "Forwarding with Masking". Can I use that feature to load up my EC2 hosted instance from my GoDaddy domain name INSTEAD of changing any A record or anything?