View Full Version : Plugin: Parked Domains
ClayRabbit
10-26-2004, 03:28 AM
Administrator's Note:
This plugin has been superceded by a feature added to DirectAdmin: Domain Pointers, supported in Direct Admin since December 16, 2004.
This thread is now locked.
Parked Domains Plugin (http://ruweb.net/DA/parkdomain.tar.gz)
This small plugin allows user to "convert" his Domain Pointers into Parked Domains.
(I just tired of waiting for that feature from DA developers, so I tried to implement it by myself.)
This plugin modifies <domain>.cust_httpd file (custom httpd configuration for domain) by adding or removing ServerAlias lines to it. Script executed with suid binary, so plugin becomes able to access and modify config files owned by diradmin.
It's my first plugin, so give me your suggestion about this plugin and it's implementation. ;)
rldev
10-26-2004, 09:40 AM
I'm sorry but what is the difference between a domain pointer and a parked domain? Does this plugin allow you to assign a folder to a domain pointer?
ClayRabbit
10-26-2004, 10:59 AM
Domain Pointer = browser redirect
Parked Domain = no redirect
(BTW, to assign domain (not domain pointer) to any folder you can use symlinks.)
rldev
10-26-2004, 11:52 AM
So I guess search engines would be the only reason why one would choose parking over a redirect. Unless I'm missing something.
ClayRabbit
10-26-2004, 12:09 PM
Originally posted by rldev
So I guess search engines would be the only reason why one would choose parking over a redirect.Yeah. To waste more bandwidh ;)
Actually, I don't see any significant reason for such parking but customers asking for that all the time. ;)
Anyway, Parked Domain feature without Domain Pointer feature is better than vice versa, because it's more flexible and less expensive.
rldev
10-26-2004, 12:12 PM
:) My customers would be confused, except for the search engine mavens.
I see a lot of plugins are starting to pop up lately which is starting to make the "Advanced" Area of the Control Panel a mess. DA if you are reading, we need a way to place plugins into any area of the skin we want.
matrixx
10-26-2004, 01:15 PM
Got this error..
plugin.tar.gz extracted
install.sh has been run:
cc index.html.c -o index.html
index.html.c:7:2: warning: no newline at end of file
`index.html' -> `../user/index.html'
mode of `../user/index.html' changed to 4755 (rwsr-xr-x)
mode of `../user/script' changed to 0700 (rwx------)
changed ownership of `../user/index.html' to diradmin:diradmin
Rob
ClayRabbit
10-26-2004, 01:31 PM
There is no errors in your output. It seems all right :)
matrixx
10-26-2004, 01:58 PM
hmm - I just tried parking a few domains and they just re-directed :(
Have I missed something?
Rob
u2mike
10-26-2004, 04:33 PM
With a parked domain your sopposed to be able to see the website without the domain changing.
For example, u2mike.info used to be a redirect to u2mike.com. So the url u2mike.com would show in the browser. But when parked u2mike.info still shows the same website as u2mike.com, but you see u2mike.info as the url in your browser.
rldev
10-26-2004, 06:20 PM
Makes sense.
nobaloney
10-26-2004, 08:27 PM
We create a site named parked.example.com, where we control example.com. We give it it's own IP#.
Then we simply create DNS and only DNS for parked websites, pointing to that same IP.
It works for a parked webpage, though it won't work for email.
Jeff
ClayRabbit
10-26-2004, 08:53 PM
Originally posted by matrixx
hmm - I just tried parking a few domains and they just re-directed :(
Have I missed something?
Rob It must be working in 3-5 minutes after making changes in control panel. Just wait for httpd.conf rewriting and apache restart.
nobaloney
10-26-2004, 11:52 PM
DirectAdmin almost never works in real time; it sends messages to datasq.
Jeff
blacknight
11-06-2004, 09:01 AM
The uninstall script doesn't work.
u2mike
11-06-2004, 10:00 AM
How is it not working, it uninstalled fine for me.
blacknight
11-06-2004, 10:20 AM
It doesn't remove the plugin.
More verbose answer:
Plugin(s) Un-Installed
Details
uninstall.sh has been run:
Nothing to uninstall
And it's still there
ClayRabbit
11-06-2004, 01:11 PM
Of course it doesn't remove the plugin. If you want to _remove_ it press [Delete] button in DA.
BTW: Plugin updated to version 1.02 - bug with new sessions directory (since DA 1.23.1) fixed.
blacknight
11-06-2004, 01:39 PM
My bad. Sorry :(
itmanvn
04-17-2006, 12:36 AM
I cant use this plugin, after click http://www.xxxx.xxx:2222/CMD_PLUGINS/parkdomain?domain=|DOMAIN|
It return nothing :(
ClayRabbit
04-17-2006, 12:42 AM
Forget about this plugin. DirectAdmin have domain pointers (Alias) support since Dec 16 2004.
itmanvn
04-17-2006, 12:54 AM
Originally posted by ClayRabbit
Forget about this plugin. DirectAdmin have domain pointers (Alias) support since Dec 16 2004.
Can you help me solve this problem _http://www.directadmin.com/forum/showthread.php?s=&threadid=12988 :(
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.