PLEASE IGNORE MY ABOVE COMMENT^^^^

I sussed out that this was because it was not a valid URL address.
I am now stuck on my next problem. How can I make it so that the 'L "http://*.mydomain.com"' is text of my input. so the user gets asked for their input i.e. http://www.example.com. This will be saved into a string? ? and then output this where 'http://*.mydomain.com'