LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2005, 02:06 AM   #1
marsguy
Member
 
Registered: Nov 2004
Distribution: Red Hat Enterprise & SuSe 10
Posts: 77

Rep: Reputation: 15
default page for domains hosted on my DNS


Hello

Suppose I have a DNS server and an Apache server.

Some domains hosted on my DNS server are hosted as well on my apache web server, while some domains are not hosted on my apache server or any other web server.

now, I want to create a global page that appears to people when they try to open a domain which is hosted on my DNS server and not hosted on the apache web server yet.

This page should be "coming soon" page.

please tell me which configuration file should I edit, and where to put this "coming soon" page on my apache web server.

thanks in advance
 
Old 09-18-2005, 04:43 AM   #2
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Rep: Reputation: 30
well... suppose you have entry for domains mishu.com and mishu.net and they are hosted in your apache also... in this case all files will be in a place and the httpd.conf file's last portion you'll find the virtualserver tab. there you basically give the entry of the files to the document root.... eg. for mishu.com, domucent root can be /var/www/mishu.com/ and for mishu.net, it could be /var/www/mishu.net/ folder.
Now you have two more entry dummy.com and dummy.org those are in your dns but not hosted. You need a page comming soon. Well...
You create an html file saying "Coming Soon" and then put is somewhere like /var/www/common/ now you put entries in your httpd.conf's virtualserver (namebased virtual server, like mishu.com, mishu.net) like mishu.com and mishu.net and you there can tell the document root to /var/www/common/ (the same directory will be shared by all). Hope you understand...
 
Old 09-19-2005, 09:24 AM   #3
marsguy
Member
 
Registered: Nov 2004
Distribution: Red Hat Enterprise & SuSe 10
Posts: 77

Original Poster
Rep: Reputation: 15
Thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
Migrate my hosted DNS to my RH9 box wazab Linux - Newbie 2 05-09-2004 05:40 AM
DNS query for all Domains dominant Linux - Networking 2 04-05-2004 11:24 AM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 02:39 PM
New Virtual Servers Default to Default Server Page? DigiDave Linux - Software 4 10-18-2003 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration