Some other domain showing my exact site? - dns

I used the site called http://get-site-ip.com/ to get the IP and both the results are showing me the same result.
This is the search result where my site is
This http://shoulderdoc.in is my original domain
My site shouldn't be at http://brainolam.com/
Bainolam result where my site shouldn't be.

This is happening because on your web server, you have not mentioned the hostname for which this site should work. You need to create a virtualhost entry with your hostname.
Currently anyone can point a domain with the ip address - 97.74.236.109, will show your website.

Related

Automatic subdomain creation and redirection

I would like to consult something in general. You can think of it like a portfolio site. Users will register on the site and they will be able to organize their portfolios as the subdomain of our project, for example, as username.domainaname.com. How can we serve the person's site as a subdomain. So how can we set these dns settings automatically? Thanks for your answers in advance. Can you recommend a source on this? I can give appect.com as an example site.
A possible solution is:
Provide DNS record * A 159.89.31.46 Thus all hosts with no explicit A record will be resolved to the IP address of your website.
2.In your web server configuration redirect requests to host username.appect.com to the approprate user's directory

Setting up domain alias CNAME record

I have a website setup at bryantmakesprog.10b3.com. I also own the domain sneaky.fish. I want my domain to point to this website by pointing to to the url, NOT the ip address. The end result being that visiting sneaky.fish/sample-page renders bryantmakesprog.10b3.com/sample-page but the URL says sneaky.fish/sample-page.
What would be the best way to go about this? I've seen some people have CNAMEs setup, but I'm not having any luck. Here's what I've tried:
To clarify, the domain must point to the subdomain. It is not sufficient to point to 10b3.com.
So there were two parts to this issue.
The first, the CNAMEs worked, it was just a matter of waiting.
The second issue was with the subdomain. sneaky.fish redirected to 10b3.com, and only bryantmakesprog.sneaky.fish would redirect to bryantmakesprog.10b3.com.
The solution for this was to use PHP to determine if a CNAME record exists pointing to bryantmakesprog.10b3.com and to handle that accordingly.

My website is being redirected to http://guide.domain-error.com/

I created a website with html, css, js, jquery and got a domain name at http://dot.tk.
The name of the website is http://onlinehtmleditor.tk.
But my browser is taking me to http://guide.domain-error.com/search9870798707.php?keyword=onlinehtmleditor.tk/&uri=&uid=57499c974fcbe...
I searched google but the results were solutions to remove domain-error not http://guide.domain-error.com/.
So how do I prevent this?
It means that the DNS records have not been updated yet.
The page you see is provider-specific, I see an other page when visiting your website.
DNS ("Domain Name System") is used to get an IP address from a domain.
When you register a domain, the DNS records have to be actualized, your domain and your server's IP have to be added.
I assume you have already set up a server and assigned it to your domain (otherwise you have to do this in the domain management panel first).
If so, you only have to wait a little.
If you haven't assigned a server yet, do that first and check again a little time after this.
I hope I could help.

domain poiting to website

I have a a website on my server on a subdomain. let's say at this adress:
subdomain.sourceserver.com/site/
I mapped a freshly bought domain (mynewdomain.com) to my server. So now mynewdomain.com resolves with the IP of my server.
And http://mynewdomain.com displays the website located at subdomain.source-server.com/site/
When I start browsing in the pages of the website, the adress displayed changes back to http://subdomain.sourceserver.com/site/blabla.php
I would like to keep it with the domain name:
http://mynewdomain.com/blabla.php
How can I do that ?
Do I have to create a CName on the DNS zone subdomain.sourceserver.com ?
Thanks in advance !
Cheers,
Mat
DNS is not what's changing the address in your browser, it is likely your web code or web server config. My suspicion is that your site is configured to be "subdomain.sourceserver.com/site/", so links inside the site are pointed at "http://subdomain.sourceserver.com/site/something.file", which is why the visible URL changes.
http://mynewdomain.com is resolving to the same IP address as your previous name, so your web browser is taking you to the same content. Unless you have virtual hosts configured so that the server pays attention to the headers, it will simply serve out the content to the request that lands on it's IP:port.
Virtual host examples

How to do a no-DNS site preview, when a wildcard redirect is in place

I'm looking to figure out how to replicate the functionality of GoDaddy's PreviewDNS when I'm moving a site to my own web host based in cpanel.
My setup is this: I have a wordpress multiuser site setup with a subdomain install, and a wildcard redirect.
I can't figure out how I can preview the website for an account before the DNS is switched over to my host from the old host.
I've been able to sorta do this by creating an A record of a subdomain over to my host, but I still have the issue of not being able to test the actual files instead of a copy in a subdomain.
I have two IP addresses attached to the server, one to the server itself and all the shared domains, and the other dedicated to the WP multisite.
When I go to http://ipaddress/~username/, I either get an error, or get redirected to the wordpress multisite's default "this site doesn't exist, sign up now to create it" page. I've tried this with both IP addresses with no avail.
Any ideas?
I think what you're trying to do is ensure that everything is working on the new server before having the DNS globally changed for all users? You could change your local computers hosts file to point the domain (and any subdomains you wish to test) over to the new dedicated IP address, which is essentially moving the DNS over for just yourself.
Here's a pretty good guide on how to do it: http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/

Resources