Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

100s of domains on a box

Status
Not open for further replies.

DNInvestor

Level 3
Legacy Platinum Member
Joined
Aug 5, 2002
Messages
79
Reaction score
0
Im wondering how many of you actually setup each individual domain (and the www subdomain) to bring up a landing page?

Ex. foo.com and www.foo.com are setup in dns and point to 1.2.3.4. Apache isnt configured at this point to serve up these domains.

I would like all my domains go to a default page without having to configure Apache, just DNS.

Is there any easy way to set this up?

Thanks, SF
 

Drewbert

Level 5
Legacy Gold Member
Joined
May 6, 2002
Messages
480
Reaction score
10
If you set up a default virtualhost container in apache's config file for a particular IP #, any domain name not mentioned further on down in that IP #'s config group will serve up whatever is in that default container, AS LONG AS IT'S THE FIRST ONE LISTED FOR THAT IP #.

So after that, all you need to do is set a domain's DNS A record to that particular IP #and Apache will automatically serve up your default landing page without any further editing of Apache's config file.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Upcoming events

Latest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom