: How to check if www and non-www are pointing to the same server How can I check if www.example.com and example.com are pointing to the same server? I don't have access to DNS panel at the
How can I check if example.com and example.com are pointing to the same server? I don't have access to DNS panel at the moment.
Please note that there's an .htaccess redirect on both domains.
More posts by @Welton855
3 Comments
Sorted by latest first Latest Oldest Best
Use PING.
Go in a command prompt I think in windows you go to start, then find then type cmd, but I haven't used windows in a long time.
But anyways, once you get a command prompt, you'll see a black box with a grey prompt.
Then type in:
ping <website url in question>
Then press enter.
For example, if you typed "ping google.com", you'll see the following results until you press CTRL+C (hold control and press C)
PING google.com (173.194.43.110) 56(84) bytes of data.
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=1 ttl=58 time=8.70 ms
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=2 ttl=58 time=42.0 ms
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=3 ttl=58 time=8.06 ms
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=4 ttl=58 time=8.11 ms
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=5 ttl=58 time=7.52 ms
64 bytes from yyz08s10-in-f14.1e100.net (173.194.43.110): icmp_seq=6 ttl=58 time=138 ms
...
Once you press CTRL+C, you'll see results similar to this:
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5001ms
rtt min/avg/max/mdev = 7.528/35.535/138.721/47.786 ms
What's important is the IP address in brackets which is 173.194.43.110.
You do no need control panel access to view the setup of a domain. You can view MX, DNS, Name Servers settings etc by doing a standard DNS look-up! any good online DNS look-up web application will do this for you.
Using MX Tool Box change MX look-up to DNS look-up, and type the domain in the search boxes. Do not enter as this is not a part of the domain. This will reveal the A records among with other configurations made to the domain. If the domain is not using a name server then generally a A RECORD will be set to an ip address of the server where the website is being hosted, then for sub domains your find alias either with the same ip, a @ to indicate the same IP or a different IP if they don't share the same server.
This does not reveal redirects however if the alias remains the same and the redirect does not redirect to a different domain i.e example1.com to example2.com then the website is using the same IP.
Check if they have the same IP, using the command nslookup or use a web service, like this example.
Of course you should consider the redirection subdomains as well.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.