Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Wildcard DNS

Status
Not open for further replies.
Joined
Mar 13, 2005
Posts
4,662
Reaction score
184
Right, as parking is becoming an increasingly risky thing to do with domains I'm ditching it!

As a temporary measure I want to change the namservers on my domains to point to my server, I need some sort of solution that will redirect any domain name that is not already setup on the server (as an addon domain or whatever) to one of the sites on my server where I will be putting up a basic holding page.

Can anyone give me an easy to understand, step by step guide on how I do this please? If the domain name could remain in the address bar that would be a bonus but is in no way essential.

I have WHM and root ssh access.

Thanks, Grant
 
yes i would like this :) sounds interesting.
 
Hi,

Assuming catchall DNS is set to point to the hosting server...

In my httpd.conf I have setup a default host to collect forwarding urls. The forwarding then points to a script that then checks if its setup on a redirect (ie. frames / redirect forwarding) and if it is not it fires it over to a set domain name / holding page.

To add a name to this setup all that needs to be done is to change the DNS to my nameserves and it works.

Not sure how to do that under WHM but if it doesnt rewrite / alter the httpd.conf setup each time you ought to be able to sort something out.
 
How much do you think you'll lose by not parking?

Also by risky do you mean drs? I know that should seem obvious.
 
You can set hte default virtual host on a cpanel server, and WHM won't over write it - however, you'll need to set it up manually.

You'll may also need to setup each domain as a wildcard DNS entry in WHM if you are using named/bind.
 
Add this to your code and it keeps the domain name in the address bar ;)

<frameset cols="100%,*" border="0">

<frame src="http://domainname-to-direct-to.co.uk">

<noframes>

<head>

<meta http-equiv="REFRESH" content="1; URL=http://domainname-to-direct-to.co.uk">

I use it on my single4dating.co.uk
 
Last edited:
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

Latest Comments

Upcoming events

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom