how do I set up a domain landing page?

Status
Not open for further replies.

Nexxterra.com

Verified User
Joined
Apr 22, 2006
Messages
197
Location
Miami Beach
So I have a billing solution that registers names for my clients, this works well, especially when the client has a hosting plan with me. however I have clients that either just register a name without hosting or they order names for future use. these names register properly but without hosting the browser does not find anything to display.
I want a default page thet says this domain is registered through nexxterra.com, etc.etc.
how do I set this up with DA?
Paul
 
assuming you're setting up default nameservers for these, then you
need to create an A record for each domain, pointing to the same IP address,
let's say this is 1.2.3.4

create a dummy 'subdomain' on some server, and using dedicated IP address
1.2.3.4 (could be domains.nexxterra.com maybe ??)

put the virtualhost for this FIRST in the apache conf file, so
it is the 'default' virtualhost.

then, any request, going to IP 1.2.3.4 for any unknown
domain will display this virtualhost's index page.

if this is a php file, just have:

<?php
echo $_SERVER["HTTP_HOST"]) . ' is hosted by .... ';
?>

and add whatever else you like to this php file to tart it up
 
The key of course, Paul, is the A record.

You need to automate something to create the A record.

How you do that depends on whether or not you get any help from your billing system.

Jeff
 
Status
Not open for further replies.
Back
Top