If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

How to make another site display on my website

Started by EmmaMckay, Dec 01, 2022, 01:59 AM

Previous topic - Next topic

EmmaMckayTopic starter

What is the process for displaying an external website on my own site? I want an inaccessible web page to be available in its entirety on my domain. In the meantime, while I am unable to access the server, what options do I have to make this happen?
  •  


lilyalvin

To display an external website on your own site, you can consider using either an iframe or nginx with proxy_pass. Another step you can take is to create a CNAME record on your domain and set the value to that of the site domain record you wish to display.

Using an iframe or nginx with proxy_pass can allow you to easily embed an external website on your own site. Creating a CNAME record can also help in directing traffic from your domain to the desired website. It's worth keeping in mind, however, that certain websites may have restrictions or security measures that prevent them from being displayed in this way. In these cases, obtaining server access may be necessary in order to properly host and display the website content.
  •  

Lechlak

It's important to note that neither Javascript nor PHP should be used in order to display an external website on your own site. Instead, nginx can be installed and requests can be configured for mysite2.com, or the DNS domain can be specified in the A record for the website that you want to showcase.

Using Javascript or PHP in this particular situation may not be effective, as these languages are not specifically designed for server configuration or proxy requests. Nginx, on the other hand, is a web server that offers support for reverse proxying and load balancing, making it a more fitting solution for displaying external websites on your own site. Additionally, by specifying the DNS domain in the A record of the website you wish to showcase, you can ensure that traffic gets directed accordingly.
  •  

shikhakaushal

If you want to display an external website on your own site, one way to do it is through an iframe. You can embed the external website using an iframe tag in your HTML code. This will allow the external website to be displayed within a frame on your own page.

However, if you are unable to access the server of the external website, you may want to consider alternatives such as using web scraping techniques or third-party services that offer website mirroring or proxying. These options could allow you to create a copy of the inaccessible web page on your domain.


More detailed options for displaying an external website on your own site.

1. Iframe: One common method is to use an iframe to embed the external website within a frame on your own page. You can include the following code in your HTML:

<iframe src="http://www.externalwebsite.com" width="100%" height="600px"></iframe>


This will display the entire external website within the iframe on your own website. Keep in mind that some websites may have restrictions on being displayed within iframes due to security or other reasons.

2. Web Scraping: If you are unable to access the server of the external website and need to display its content on your domain, web scraping is an option. Web scraping involves extracting data or content from a website and displaying it on your own site. However, it's important to note that web scraping may raise legal and ethical concerns, as it could violate the terms of use of the external website.

3. Third-Party Services: There are third-party services and tools available that offer website mirroring or proxying. These services can create a copy of the inaccessible web page on your domain, allowing you to display the content without directly accessing the original server. Be sure to review the terms of service and consider any potential implications before using such services.

4. Content Syndication: Another option is content syndication. You can reach out to the owner of the external website and propose a content syndication agreement. This would allow you to legally and ethically display their content on your own site with their consent. Content syndication agreements typically outline the terms of use, attribution, and any other relevant conditions.

5. Proxying Services: There are proxying services that can create a mirror or proxy of the external website on your own domain. These services route requests through their servers, allowing the content to be displayed on your site without accessing the original server directly. Keep in mind that using proxying services may have associated costs and technical considerations.

6. Legal Considerations: Consult with a legal professional to ensure that your approach complies with copyright laws and respects the intellectual property rights of the external website's content. It's essential to understand the legal implications of displaying external content on your domain to avoid potential legal issues.

7. Ethical Considerations: Consider the ethical implications of displaying someone else's content on your own site. Respect the original creators and owners of the content, and ensure that you have obtained proper authorization or permission to display their content on your domain.

It's crucial to be aware of the legal and ethical considerations when replicating or displaying content from external websites. Always ensure that you have the necessary permissions and rights to display the content on your own site to avoid any potential issues.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...