Programs > Free > Domain Director
Background
How many web hosting accounts do you have? Of all
of your hosting accounts, how much server space do you use? Do you
wish you could have several domains on just one hosting account
and just redirect other domains to a subdirectory? This is where
Domain Director comes in.
Download
Please register
or login
to in our support forums to download PerlDiver. It's Free!
Requirements
To run Domain Director v2.1, you'll need:
- Permission to run CGI scripts in your main
www
directory. If you're not sure you can run programs outside of
your cgi-bin, contact your server administrator.
- UNIX based server (Though this program may work on NT,
Solaris, or other server, it has not been tested.)
- Perl 5.005 or higher
- One or more domains to redirect.
LWP::UserAgent (to perform transparent redirection)
Installation
Please follow these simple steps:
- Download Domain Director.
- Unzip the program using your favorite unzip program.
- The first line of the program has the path to perl as
#!/usr/bin/perl
a common location for perl. If that is not correct for your server,
open index.cgi in your favorite text editor and make sure that
the path to perl is correct.
If you don't know your path to perl, ask your system administrator.
- Do not change the name of the program from index.cgi unless
you are certain that your web server uses a different default
name.
- Follow the instructions inside index.cgi to define your domains
and DomainDirector's behavior.
- After you've made the above changes, save the file and open
your favorite FTP program.
- Upload index.cgi in ASCII format into your web server's main
www directory.
- Change permissions on index.cgi to 755. You can either change
permissions using your FTP program (if that's a feature of your
FTP program) or by telnet. Please review your FTP program's documentation
to learn how to do this using your FTP program. If you wish to
change permissions by telnet, telnet to your account and navigate
to the directory you uploaded index.cgi into. Type
chmod 755 index.cgi
Please note that some web servers require permission settings
of 775 or higher to run CGI programs. If you're unsure what your
permissions should be, contact your server administrator.
- Test the program in your browser.
For example, if your primary domain is "main.com", your
parked domain is "second.com", and your primary domain's
home page is "index.html", type "http://first.com"
in your web browser.
Assuming a correct setup, you will be forwarded to "http://www.first.com/index.html".
If that works, then your primary domain is set up fine and it's
time to test your second domain. Type "http://second.com"
in your browser.
Assuming a correct setup, you will be forwarded to "http://www.second.com/seconddir/".
Documentation
Documentation for Domain Director is inside index.cgi.
Support
Support is provided free of charge on our forums.
|