I included some external links in my website, but when i click on those links it opens a linkwith my domain/+link.

Posted August 18, 2016 1.9k views
DNSUbuntu 16.04

I don´t know if it is something i have to do with the DNS

I included the dot after the domain in the CNAME Ex www in order for that no to happen. But the thing is that is an external link, but it keeps carrying my domain in a new window.

Example of error when i open the link
the link in the code for the new window is just

Thank you

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.

Submit an Answer
2 answers

Hey there!

Usually, when you don’t specify any protocol (like HTTP or FTP) while specifying the link, it is assumed that you are linking to a file within the current directory or to a route in your application.

Try adding http at the beginning of the link in your source code. Example - instead of just linking to, link it to

That should hopefully solve your problem!