• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

If I buy a wwwdomain how do I ?

Status
Not open for further replies.
Joined
Mar 13, 2006
Posts
2,265
Reaction score
31
Hello

I'm looking to buy a wwwdomainname

anychances of explaining how I can making sure any web addresses such as wwwdomainname/offer/index.htm are forwarded to another url instead of seeing a blank page

Cheers
 
Assuming that the server is running Apache, you can either set the second name as an alias, or use ReWrite to take the incoming URL and generate a replacement.

For example any of the domains I have for sale will be redirected to a unique page. eg:

www.nosuch.co.uk
will go to
www.fcdomains.co.uk/www_nosuch.htm

This means that one site will answer to hundreds of domain names.
 
The DNSs will decide what server the domain name lands on, after that any address, including sud-directories and filenames, can be modified by the re-write rules and re-directed to any page. The page can even be on another server.

However the language the rules are written in is obscure (Regular Expressions). You will most likely need a geek. You might also need root access to the server, depending on how AllowOverride is configured.

There are some examples here:

http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html
 
If you don't have access to a geek and you still have the old pages on your server, the quick solution is to use a java redirect script.

Put the following code in your old pages, overwriting everything that is there at present.


<html>
<head>
<title>Redirecting</title>
<META HTTP-EQUIV="Refresh" CONTENT="3; url=http://www.yoursite.com">

<body text="#000000" link="#800000" vlink="#FF8080" alink="#C0C0C0">
<p align="center">
<center>
You are being redirected to the new site<br>
<p><br>
If your browser does not support java, please click <a href="http://www.yoursite.com">here</a>.
</center></body></html>

Make sure you change both http://www.yoursite.com to your own landing page.
 
Status
Not open for further replies.
Top Bottom