Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
My domain's A records are:
Host: Points to:
# 66.6.44.4
experiments 188.121.46.1
The # points to my Tumblr blog, and the experiments subdomain points to my hosting.
The problem I'm having is, experiments.example.com is somehow redirecting (curl shows that it's a 301) to example.com/experiments/. I've checked http://whatsmydns.net and it too confirms that those hosts point to those IPs.
How is this happening? I've emptied my DNS cache a few times so I don't think it's that. Where is that redirect coming from?
Thanks.
Actually this is not a DNS problem, but a webserver issue.
Your webserver running at http://experiments.example.com redirects to http://example.com/experiments/. So check your Webserver configuration to find any redirect directives.
DNS only resolves names to IP addresses. It does not redirect HTTP requests.
HTTP is a protocol. With http://experiments.example.com you connect to a server experiments.example.com (IP 192.0.2.46) on port 80 where your webserver listens, accepts the request and redirects it to http://example.com/experiments/ and your broswer follows this redirect querying host example.com (IP 203.0.113.42) on port 80 to GET /experiments/ there.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
in our company we have a Ubuntu 16.04.5 server, where we keep our intranet website and some other simple sites. All works good, but we can access the server using two names like - http://server/website/ and http://server1/website/ . I checked all apache2 files and all host files and I did not find anything related to the name server1, only hostname server. Maybe someone can help me figure out where something like this is configured on how to turn it off.
For me this is normal situation. You have configured one site on this machine. But your DNS server have two records for the IP of the machine. And when you reach apache via first hostname you get the site as it is defined. When you reach the machine via second hostname apache check the hosts defined and see there is no special definition for this hostname and serve the request with first configured host.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Given:
a domain w/ gofather: gloriousdomain.com
w/ nameservers pointing to server w/ hostcrocodile
a subdomain: sub.gloriousdomain.com
a server w/ digitalpond and ip: 123.456.78.9
an A-Recordin hostcrocodile pointing sub.gloriousdomain.com -> 123.456.789
How do I make it so that when I enter sub.gloriousdomain.com in my browser it doesn't just reroute me and change my url to 123.456.78.9
cases where it's worked before
wordpress :
when you first set it up, it does the whole route to ip thing
then you finish the setup w/ it asking the subdomain and magically it's fixed
redmine
routes to ip until you type in the subdomain
Interesting facts
When I ping 123.456.78.9 it pings back 123.456.78.9
I thought passenger on top of nginx was doing some work helping the resoloution for redmine and that's why it worked, but to test it I stopped the service and pinged my redmine box
It turns out it was my ISP.
I reset my router thinking perhaps it was caching the page, turns out it was the ISP, they were serving me a cached version.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have brought one new VPS(unmanaged VPS) from a2hosting.com.
They provide me IP(199.195.116.118) and Nameservers (dns1.name-services.com and dns2.name-services.com).
My domain is omniitworld.com.
I have changed my domain's dns to dns1.name-services.com and dns2.name-services.com.
When I check DNS of omniitworld.com on mxtoolbox.com, it shows dns1.name-services.com and dns2.name-services.com.
It means my site's DNS is pointed to VPS DNS successfully.
But omniitworld.com does not show page I have created on VPS.
Do I have to do any else on VPS or what I have to do now.
Please help in detail.
DNS lookup of your domain shows that, A record of your domain is pointing to IP address "69.64.147.243", it should be pointing to your VPS IP address, i.e. "199.195.116.118".
https://www.accuwebhosting.com/resources/show-dns-records?q=omniitworld.com
It seems that you are using default nameservers of your registrar, "Enom Incorporated".
To point your domain to VPS, you'll have to change A record to "199.195.116.118".
Following tutorial will help you to achieve this.
http://www.enom.com/kb/kb/kb_0002_change-host-records.htm
Alternatively, you can contact Enom support for the same.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
On our Linux machine we have found this content of /etc/hosts file:
127.0.0.1 localhost
# *********��������Ϊ360��ȫ��ʿΪ��������ľ����������******************
127.0.0.1 yu.8s7.net
127.0.0.1 1.jopanqc.com
127.0.0.1 2.joppnqq.com
...
...
There are more than 20 similar lines in the file.
What is this? Is this an attack?
Thanks for any idea.
Zlaja
Looks suspicious because typically there won't be more than 2-3 entries pointing to 127.0.0.1. However, an attacker may not gain much by redirecting the domain name lookups to 127.0.0.1 - unless the attacker runs a local server to capture the requests targeted to those domains. Do you see any suspicious process with a listener socket open? If true then it is likely to be an attack. Also search the web for those domain names. If it is an attack you will find more information about it. If all these turn out to be negative then it may not be an attack.
Is it possible that there is a security program (similar to denyhosts) running on your server which automatically registers suspicious hostnames as 127.0.0.1 in order to ban accessing those hosts by name?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
If my university uno.edu has all public IP addresses and it wants to add a department as a DNS subdomain i.e. cs.uno.edu
Will it typically handle the subdomain itself on it's local on campus DNS servers?
Or will it register that subdomain with a registrar?
Also, will windows server handle remote internet DNS requests?
I'm asking because I'm trying to figure out how powerful windows server DNS capabilities are.
uno.edu/computer-science is not a subdomain, but a URL. A subdomain would be computer-science.uno.edu.
The DNS server of the top-level-domain edu will reference to the DNS server of your university (uno.edu) and that one manages all subdomains on an local DNS server (like the aforementioned computer-science.uno.edu for instance). However, it's also possible that your university does not host an own DNS server if they don't need to manage subdomains.
And yes, Windows Server can certainly handle remote requests.