Is it legal to point a domain to someone else&#39;s ip (website)?
<p>The question is pretty straightforward: Is it legal to point a domain on the web to someone else's ip (website)?</p>

<p>The domain owner is not actually copying the content, but just opening the website in his or her own domain.</p>

<p>The resolution happens in the USA and the domain was bought at Google Domains</p>

<h2><strong>Yes</strong></h2>
<p>One could certainly put up a site whose only content was a link to another domain. And I can't find any law which this would violate.</p>
<p>If the link is a &quot;deep link&quot;, and if it bypasses a log-in page, while the other site is so designed that all access is intended to go through the login, I believe (but cannot at the moment verify)  that the owner of the other site could claim that this violates their copyright. In any case it is not a good idea.But a link to an appropriate page should have no problem, nor should pointing your domain at an appropriate entry page.</p>
<p>Therefor, since simply re-pointing a domain should have the same effect as simply linking, in those cases where it works at all, it should be legal. Doing it with an iframe, which would truly open another site within your site, may not be if the other site forbids such use, as in the ToS. The case law on that is not settled, but many sites object to it, as the answer by @BlueDogRanch points out.</p>
<p>I don't see a good reason why one would <strong>want</strong> to do this, but that isn't the question. Copying the HTML of another site and modifying the URLs while keeping the content the same would pretty clearly be a copyright infringement, besides being a lot of work to little obvious point. It also isn't what the question asked about.</p>
<p>Building a one-page site that has only a simple link or a redirect would clearly be legal, and would serve the purpose of causing your domain to lead a user to another site, but it isn't, strictly speaking, what was asked about either.</p>

<p>This will be legal except for some bizarre and very unlikely scenarios — unlikely both technically and sensically.</p>

<p><strong>The only scenario when it is technically possible</strong></p>

<p>Nowadays that is rarely possible: the IP address(es) that you find will either be shared with other sites, or point to an intermediary service making the site highly available and fault tolerant, or both. This requires the correct domain name to be passed with the HTTP request for it to be successful.</p>

<p>But once upon a time it was pretty common to setup websites in such a way that they had just one IP address associated  with them (often they did not even care what domain name was used to access them, or whether it was used at all, which was making it possible to open the website in a web browser just by the IP address). This setup is nowadays rare but still existent; it is the only case where pointing another domain name is possible.</p>

<p><strong>Examples of scenarios when it is illegal</strong></p>

<ul>
<li>Rob owns a very popular website and wants to create some troubles to Bob who owns a website much less popular. Rob points his popular domain name to the Bob's IP address. Given that no automatic scaling is enabled on the target, Bob's site gets down. Or, if scaling is enabled and not limited, Bob gets astronomical bill from its cloud provider (Rob's visitors suffer for a while but Rob is fine with that);</li>
<li>Rob wants to create bad publicity for someone presented on the web. He registers a domain name like "theseguysarecheatsandthieves.com", points it to the target IP and does some SEO so that the target is findable on the new domain name. Rob hereby commits defamation;</li>
<li>Rob wants to steal Bob's customers. As in the previous example, he registers and points to the site a more appealing domain name than the original one. He does some good SEO and now the majority of Bob's customers come via Rob's domain name. Finally, Rob points his domain to his own site and serves the customers that Bob once had.</li>
</ul>

<p><strong>Why is it legal otherwise?</strong></p>

<p>Without speculating about the possible goal of pointing a domain to someone else's website address, attainability of that unspecified goal, and available alternatives, let's see what <em>consequences</em> may arise if someone does <em>just</em> what the OP says and draw conclusions from those.</p>

<p>So, we assume that the target can be opened by its IP address as mentioned earlier. In this case, any domain name can be pointed to that IP; upon entering the domain name in the web browser, the site will open. It won't be necessary to even register a domain to point it: one could simply edit their local <code>hosts</code> file.</p>

<p>What trouble does that create, barring the weird cases exampled above? None. No copyright infringement, no fraud, no hacking, no damage, nothing. Who's right are violated? No ones. Hence it is perfectly legal.</p>

<p>It doesn't work that way. Simply pointing a domain at a server IP won't do what you think, for any number of reasons, i.e., load balancing, proxies, CDNs, shared IPs, the way the webserver is configured, etc. You <em>may</em> be able to display a simple home page on a server with a single IP. But simply pointing the domain isn't going to rewrite the source code of the site and magically make it appear to be your domain.</p>

<p>You could "scrape" the site and download all content and convert the URLs to your own domain, but that requires your own server, and is typically not legal, depending on the TOS of the site you scrape; see the earlier LE question <a href="https://law.stackexchange.com/questions/34002/terms-and-condition-for-web-scraping">Terms and condition for web scraping</a></p>

<p>What you are probably thinking of is an iframe: <a href="https://www.w3schools.com/tags/tag_iframe.asp" rel="nofollow noreferrer">HTML iframe tag.</a> You can use an iframe to display the content of another site in a window on your own hosted domain on your own server.</p>

<p>But the <em>legality</em> of iframing a site depends on the TOS of the site you frame and appears to be in legal flux; earlier LE question <a href="https://law.stackexchange.com/questions/5089/can-you-be-accused-of-hotlinking-copyright-violation-if-you-use-an-iframe">Can you be accused of hotlinking/copyright violation if you use an iframe?</a></p>

<p>Many sites forbid  the use of iframes as they see it - case law or not - as copyright infringement. And servers can be configured to block iframing by other hosts.</p>

<p>Try using an iframe for law.stackexchange.com; you'll see the error <code>Load denied by X-Frame-Options</code>, because Stack Exchange forbids iframing their sites, though iframing appears to not be mentioned in Stack Exchange's TOS language.</p>

<p>Technical details aside (you won't be able to do this; any remotely modern web server stack requires you to specify the domain names it will work with), if you do this with a website which is normally accessible via a domain name with trademark protection, serving the same content via a different domain name would be contestable in court as <a href="https://www.duhaime.org/Legal-Dictionary/Term/ReversePassing-Off" rel="nofollow noreferrer">reverse passing off</a>:</p>
<blockquote>
<p>The action of a provider of goods or services who purchases another's goods or services, removes the latter's trademark and replaces it with its own.</p>
</blockquote>
<p>This is forbidden unless you sign a so-called white label agreement, i.e. the original website owner explicitly authorizes you to set up your domain pointing to their site.</p>

united-states copyright online