Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

If I buy a wwwdomain how do I ?

Status
Not open for further replies.
Joined
Mar 13, 2006
Posts
2,263
Reaction score
30
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.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom