Welcome to WebmasterWorld Guest from 23.22.207.70

Forum Moderators: bakedjake

Message Too Old, No Replies

Need some linux help with a domain parking thing

In order to park domains on my own server

     
11:57 am on Apr 12, 2008 (gmt 0)

Full Member

5+ Year Member

joined:Sept 21, 2006
posts: 211
votes: 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.

1:21 am on Apr 15, 2008 (gmt 0)

Senior Member from KZ 

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

joined:Jan 10, 2005
posts: 2889
votes: 5


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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members