Solved

Domain holding page techniques

Posted on 2006-11-22
12
453 Views
Last Modified: 2008-01-09
Hi.
We have our own webservers and are trying to find out the best way of  displaying a holding page for a parked domain.

We currently copy the holding page files over to the customers www directory and rename their default page, replacing it with our holding page. This is very time consuming and we want something that I can literally switch on/off via a script.

Ideally we want a central holding page folder for ALL our dormant domains to point to - but wth the ability to display the relevant domain name.
ie: if you go to www.xyz.com, you would see a standard holding page but it would say: "The domain www.xyz.com is being parked."

Thanks
0
Comment
Question by:gjok
  • 4
  • 3
  • 3
12 Comments
 
LVL 15

Accepted Solution

by:
periwinkle earned 75 total points
ID: 17995246
The easiest way might be a simple cgi script that displays the domain name, and then put the default page into the skeleton that is automatically copied into their account upon account creation.
0
 
LVL 2

Author Comment

by:gjok
ID: 17995374
Sorry I should have said that I am using ASP/IIS. I dont know anything about cgi.

How do the big hosting companies do this?
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 17995607
Ah, I'm  a linux consultant, and don't know the syntax for asp, but I suspect that there is a way.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 18001314
> How do the big hosting companies do this?
using apache, or other reliable web servers ;-)

Beside the jokes, do your mean that every parked domain should show exactly the same page?
Then I'd simply enable SSI and use a corresponding SSI directive to display the domain, like
    <!--#echo var="${HTTP_HOST}" -->

I guess that ASP has something similar.
0
 
LVL 2

Author Comment

by:gjok
ID: 18001701
Yes ahoffmann, every parked domain should show exactly the same page. (ASP would use: Request.ServerVariables("HTTP_HOST") )

but should I have a file in xyz.com's root directory which displays the holding-page? or should I have a file in xyz.com's root directory which redirects to a general/shared holding-page application somewhere else?

The holding-page will have adverts and other graphics, etc on it, so ideally I dont want to have to update an individual copy of the holding-page for ALL parked domains, but rather update a central page that ALL the parked domains point to, and still have xyz.com in the browser address bar.
0
 
LVL 2

Author Comment

by:gjok
ID: 18001780
ahoffman, go to Google:
http://www.google.com/search?num=20&hl=en&lr=&newwindow=1&safe=active&q=This+page+is+parked+free%2C+courtesy+of+GoDaddy.com+&btnG=Search

..and click on any of the links - all the domains point to the same thing - this is what we want to achive.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 18002555
> but should I have a file in xyz.com's root directory which displays the holding-page? or should I have a file in xyz.com's root directory which redirects to a general/shared holding-page application somewhere else?

you have to add a rule to your web server which does it for you, means that it internal redirects all requests to a common file, something like:
   www.whatever.com/index.html  to  www.your-root.com/common-parked.html

(where whatever is a wildcard)
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 18003303
In Apache, you'd do this via a conditional mod_rewrite, based on the existance of the home page.  I'm not certain of how this is done in Microsoft land.
0
 
LVL 2

Author Comment

by:gjok
ID: 18004125
I've been looking into ahoffmans last comment about "internal rediects"...
When you set the location of the "Home Directory" in IIS, there is an option for "A redirection to a URL", which I am currently playing with.
I am using a querystring to pass the domain-name to a common file on another external domain. This works perfectly, except that the browser address bar shows the redirected URL - not the parked one (which is not really what I want)

Maybe it cant be done in IIS??
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 75 total points
ID: 18004337
there should be a checkbox for "internal" redirect (vs. "external" redirect)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question