dns - @ Hostname not being overridden by other A record? -


my domain's a records are:

host:           points to: @               66.6.44.4 experiments     188.121.46.1     

the @ points tumblr blog, , experiments subdomain points hosting.

the problem i'm having is, experiments.example.com somehow redirecting (curl shows it's 301) example.com/experiments/. i've checked http://whatsmydns.net , confirms hosts point ips.

how happening? i've emptied dns cache few times don't think it's that. redirect coming from?

thanks.

actually not dns problem, webserver issue.

your webserver running @ http://experiments.example.com redirects http://example.com/experiments/. check webserver configuration find redirect directives.

dns resolves names ip addresses. not redirect http requests.

http protocol. http://experiments.example.com connect server experiments.example.com (ip 192.0.2.46) on port 80 webserver listens, accepts request , redirects http://example.com/experiments/ , broswer follows redirect querying host example.com (ip 203.0.113.42) on port 80 get /experiments/ there.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -