Adsense Alternative

Banned from Adsense? Tired of them changing the rules for their benefit? Me too. Check out what I'm using instead.
 
Randomized RSS Feeds

Learn how to get several of your large sites indexed by creating dynamic RSS feeds.

Adding Domains To WHM With PHP

I was IMing with one of my friends who just recently started internet marketing last night and I couldn’t believe it when he told me that he was spending all his time adding domains to his server by hand.

I remember when I first started (after all, it wasn’t that long ago) and I was doing everything by hand. You soon realize that what you’re doing won’t scale and that you have to start automating the tedious, mindless steps in your process.

Once you start automating one or two things you start to see how powerful it is. What used to take you hours now takes you minutes (or seconds) and you can use that time to work on something else.

You can see the script that I sent my friend to add domains to WHM with PHP here.

It’s pretty simple, especially if you already read and understood my post detailing how to submit forms with PHP.

If you don’t know what WHM is, it stands for Web Hosting Manager and it’s the control panel most hosts give you with a reseller package or dedicated server.

The script reads in your new domain names, which you have to put in a text file called “domains.txt” with each domain on its own line. Don’t put the http:// or www. in front of the domains in the file. In other words use wagerank.com instead of http://www.wagerank.com.

The script then generates a username based on the characters in the domain and submits the form to add the domain. Running this script will increase your server load time, so don’t do it during times when your server is getting alot of traffic.



Related Posts
The Value of Top Level Domains
Move Over Content! Value Is The New King.
Tools
.CN Domains No Longer Working in Google
GoDaddy Is Going To Kill Me


Tell Me What You Think...

Comment by grandpa
2007-03-06 13:40:53

thx bro
will save lot of time by this simple script

 
Comment by MORO
2007-08-17 16:27:46

Thanks for this! It’s a life saver! Something I learned when I used it was how helpful the skeleton directory can be especially when creating a lot of accounts. Thanks again!

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment

Copyright © 2007 WageRank.com