How to get correct URL in HTTP header?

Can I get http://bit.ly to show a webpage without stopping the url shortning of my short domain?

  • I have 2 domains. http://example.co.uk and examp.le (these are just dummy names) i have set the A-record to point to http://Bit.ly and the short urls are working fine and verified. but ive tested to see what happens when i type examp.le into a browser and it now goes to http://bit.ly  Is there a way to keep the short domain working with http://bit.ly but have a simple html page if someone did type examp.le into a browser (im thinking i can use a redirect script then to redirect to http://example.co.uk)

  • Answer:

    no answer so ive been looking into it. turns out you can do this simple using htaccess. root redirect.

Andy Barron at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.