I want to link to my website hosted on a droplet from another website. With the standard way of linking in HTML the connection gets declined by the server. Other links work fine, i.e. to linked in. Website is reachable and functioning as intended via a normal web Browser. Do I need to update some Setting with the Apache Server? Thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
In addition to what has been mentioned already, it sounds like that you might be linking your website via HTTPS, eg:
However, if you don’t have an SSL certificate this will not work. What you could do is to install a free certificate using the steps here:
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04
If this still does not work, feel free to share the HTML snippet in place that is not working and we could try to advise you further.
Best,
Bobby
Hi @rafaelpich,
Can you be a little more specific, do you need to redirect your whole website to another or just create a A href link so that when it clicks it opens another website?
Let’s assume it’s the first, in your .htaccess file you can add the following for this to work
where newdomain.com will be the domain you want to redirect yours to.
If you want to use HTML to redirect when a link is clicked use the following