homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

Need some linux help with a domain parking thing
In order to park domains on my own server

5+ Year Member

Msg#: 3625271 posted 11:57 am on Apr 12, 2008 (gmt 0)

Hello, can somone guide me with this a bit?

I want to host all my domains on my own server, park them here.
I do not know how ot make the server host any domain without needing to manually add each domain in plesk or in other control panel. Just by setting name servers to ns.my_server.com

And when a domain is accessed like domain10.com I want it to show content that I have in my_server.com/domain10.com

Is this possible? I do not know what OS (linux) files to modify.
Any help is appreciated.

I am sure others discussed it but I am not sure what keywords to look for.

Thank you.



WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3625271 posted 1:21 am on Apr 15, 2008 (gmt 0)

If you have a (virtual) dedicated server you will have access to Apache's httpd.conf. The first <VirtualDomain> section in your httpd.conf file is a catch all section. All requests to your server with domain names Apache cannot resolve to another VirtualDomain section are served by this first one. You could put a 301 RewriteRule here to redirect visitors to example.com/domain10.com.

Another way is that you put up a simple index.php in the DocumentRoot of this catch-all VirtualDomain and let this index.php display a parked page.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved