Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to create a page for new clients in my hosting.

When someone register a domain, sometimes that person don't have a dns, or the hosting didn't created the account.

So the page will not respond.

Is there any way to set in my primary domain DNS to respond to all domains pointing to me, to a specific new page like home/resseler/public_html/soon.html ?

Like a CNAME myserver.com/soon.html CNAME ~~all domains pointing to my ns1 and ns2.

A normal default page for news domains pointed to my server without account creation.

share|improve this question

closed as not constructive by John Gardeniers, rnxrx, Michael Hampton, Frands Hansen, Ward Sep 19 '12 at 18:38

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
I suggest you spend some time learning how DNS and Name Based Virtual Hosting works. –  Iain Sep 11 '12 at 10:10
1  
Have you ever tried to send a letter or email to someone who doesn't have an address? Same thing with something that has no DNS entry. –  John Gardeniers Sep 11 '12 at 10:50
    
So, automatic catchall dns park service, without creating a virtual host that actually respond for a domain, isn't possible? Am i right? –  André Sep 11 '12 at 22:57
add comment

1 Answer

No, you can not enter a URL inside a DNS entry.

What you're looking for is a catch-all webserver. The trick here is to reserve a IP-address for parked domains, and assign that IP address to a specific virtual host with your "Coming soon" page.

I'm not giving out more details, as this is something that sysadmins should be able to figure out on their own.

share|improve this answer
    
Sure, thanks! That's what i was looking for! i will try to learn some more about dns and manage webservers. Would you recommend some book or site to learn linux server creation and management? –  André Sep 11 '12 at 13:00
    
From what i'v been reading there is a solution with a script that reads the apache error log for domains not responding and create a virtual host and bing configuration? –  André Sep 11 '12 at 22:57
    
No, like I said, you create a virtual host that binds a IP. Every request to that IP will go to that virtual host, no matter what kind of domain it is - as long as it points to that IP. –  pauska Sep 12 '12 at 8:14
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.