Take the 2-minute tour ×

In asp.net, every link created whether html tag or asp hyperlink all end up with my domain name in them. If I programmatically create the link www.google.com it ends up as mydomainname.com/www.google.com. Is this an IIS problem? I cant figure out why this is happening

share|improve this question

1 Answer 1

There's another Stack Overflow post about this:

go to external site if it's an hyperlink

You need to prefix the external website you're linking to with "http[s]://".

share|improve this answer

Your Answer


