Solved

Domain holding page techniques

Posted on 2006-11-22
12
455 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CFFILE upload help 98 210
Having trouble setting Apache to recognise 2 vitual sites (on different drive). 3 181
Link failure 16 93
Reverse Proxy problem 3 36
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 …
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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