hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Adding 15,000 park domains..not joking...
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Adding 15,000 park domains..not joking...

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-17-2005, 03:53 PM
tharakan tharakan is offline
New Member
 
Join Date: May 2005
Posts: 1

Adding 15,000 park domains..not joking...


Hello,

I have to park 15,000 domains on my main account. I am not joking.. I have to park 15 thousand domains...
And Iam getting mad of it.
To add them individually from the Cpanel is not at all practical. I thought of some scripting. Iam not that expert in scripting. I somehow managed to add an alias in the httpd.conf file for them, but the named seems to be a big task . Shall I have to add the zone file for each domain and also add the corresponding entry in named.conf?
It would be appreciated if anyone could shed some light.

Regards,
Tharakan

Reply With Quote


Sponsored Links
  #2  
Old 09-17-2005, 03:56 PM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
Can you export a list of each domain to a text file?

If so just hire someone in the Related Offers and Requests forum to write a script to run through each and create an account for them. I believe they can write one to interface with cPanel or any control panel.

Now, will each of these have separate sites, or will they point to one page? Make sure to be specific since the script can have them parked on one site, or have their own sites.

Impressive domain count

Reply With Quote
  #3  
Old 09-18-2005, 01:33 AM
tamouh tamouh is offline
Aspiring Evangelist
 
Join Date: Sep 2002
Location: Canada
Posts: 443
wow 15K domains. I wonder what domain registrar you use for these maybe you are your own accredited registrar.

__________________
Reliability • Performance • Integrity

Reply With Quote
Sponsored Links
  #4  
Old 09-18-2005, 02:10 AM
fastdeploy fastdeploy is offline
Web Hosting Master
 
Join Date: Apr 2004
Location: SF Bay Area
Posts: 875
Re: Adding 15,000 park domains..not joking...

Quote:
Originally posted by tharakan
Hello,

I have to park 15,000 domains on my main account. I am not joking.. I have to park 15 thousand domains...
And Iam getting mad of it.
To add them individually from the Cpanel is not at all practical. I thought of some scripting. Iam not that expert in scripting. I somehow managed to add an alias in the httpd.conf file for them, but the named seems to be a big task . Shall I have to add the zone file for each domain and also add the corresponding entry in named.conf?
It would be appreciated if anyone could shed some light.
If is reasonably trivial to write a Perl or PHP script, perhaps even shell script that could do this quite easily. Hopefully you have the domains listed in some kind of flat file, CSV, or database. Surely you must somewhere.

I would get them in a format that is manageable for a script that will split the domains based on commas or tabs. After that it's really child's play, be it 1 domain or 100,000.

Reply With Quote
  #5  
Old 09-18-2005, 05:14 AM
Criminal#58369 Criminal#58369 is offline
Web Hosting Master
 
Join Date: Jul 2004
Posts: 928
Ouch, hope you find a solution to this problem, by the way how u get 15k domains?

Reply With Quote
  #6  
Old 09-18-2005, 06:23 AM
Mark_TVI Mark_TVI is offline
Build It Better!
 
Join Date: Dec 2002
Posts: 5,418
That's quite a hefty renewal bill as well!

I don't know about where you're from but here we could get something like that done for about $100.00 by hiring a data entry individual to do it manually. Some of those people can type in excess of 100 WPM and are worth every penny for things like this.

Reply With Quote
  #7  
Old 09-18-2005, 09:28 AM
Criminal#58369 Criminal#58369 is offline
Web Hosting Master
 
Join Date: Jul 2004
Posts: 928
Wow, thats another good solution!

Reply With Quote
  #8  
Old 09-18-2005, 11:41 AM
Scott.Mc Scott.Mc is offline
Engineer
 
Join Date: Jan 2005
Location: Scotland, UK
Posts: 2,380
Probley faster just to make a file with the list of domains, make a quick bash script to output each domain as a ServerAlias , you can create the named entry and leave it at that

Try somthing like

Code:
#!/bin/bash
for i in $(cat domains); do
echo ServerAlias $i www.$i >> httpd
echo blah blah $i some more stuff >> $i.db
echo even more >> $i.db
echo even more >> $i.db
echo some cnames >> $i.db
echo 'zone "img5.imgspot.com" {' >> named
echo 'type master;' >> named
echo 'file "/var/named/'$i'.db";' >> named
echo '}' >> named
done

__________________
Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. Keep your servers online.
United Kingdom: *0800 8620073* // United States: *585 563 1729* // Australia: *02 9037 2448* // International: *+44.1412800134*
Scott Mcintyre

Reply With Quote
  #9  
Old 09-18-2005, 11:46 AM
Steven Steven is offline
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,637
one way to do it is this

give it its own ip, in the virtual host do this:

remove the ServerAlias line.


should look something like this:

Quote:
<VirtualHost 2.2.2.2>
DocumentRoot /home2/domain/public_html
BytesLog domlogs/domain.com-bytes_log
User domain
Group domain
CustomLog domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home2/domain/public_html/cgi-bin/
</VirtualHost>
next:

put them all in a file:

for i in `cat domains`;do `/scripts/adddns $i ip`;done


one last thing, make sure there is no NameVirtualHost for the ip

__________________
Steven Ciaburri | Proactive Linux Server Management - Rack911.com | 1.855.RACK911
System Administration Extraordinaire

Managed Dedicated Servers, Linux Server Management, Disaster Recovery, Server Security Audits

Reply With Quote
  #10  
Old 09-18-2005, 12:01 PM
codeguru codeguru is offline
WHT Addict
 
Join Date: Mar 2005
Posts: 146
You can do it with out much sweating.

you could do somthing like this. create a file with all the parkdomains we'll say it's called domainlist. then do somthing like this

for i in `cat domainlist`;do /scripts/park maindomain.com $i;done


example of what domainlist would look like

domain1.com
domain2.com
domain3.com
and the main domain is the one on which you want to park all these domains.

Have a good day.

Reply With Quote
  #11  
Old 09-18-2005, 04:42 PM
dolay dolay is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: Istanbul
Posts: 654
Quote:
Originally posted by codeguru
You can do it with out much sweating.

you could do somthing like this. create a file with all the parkdomains we'll say it's called domainlist. then do somthing like this

for i in `cat domainlist`;do /scripts/park maindomain.com $i;done


example of what domainlist would look like

domain1.com
domain2.com
domain3.com
and the main domain is the one on which you want to park all these domains.

Have a good day.
we have solved it with that script yesterday that I found from forums.cpanel.net

__________________
Online Games
Online Oyunlar

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Baltimore Technology Park Expanding Data Center Web Hosting News 2013-03-11 13:34:32
50a15ecd-fab4-4084-be23-53a245a799a0 Listing 2013-03-05 18:23:24
Growing Domain Market Sedo Clarifies Pricing, Features with Factsheet Web Hosting News 2012-01-27 16:37:20
Tucows Adds 100-Plus new Domain Extensions to OpenSRS System Web Hosting News 2011-12-22 18:29:09
Profiting From Domains for Web Hosts, with Christoph Donnemiller of PartnerGate Web Hosting News 2011-10-27 18:52:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?