brettlewis Posted April 3, 2011 Share Posted April 3, 2011 I didn't think I was dumb, but now I'm really starting to feel dumb. As a test, my cousin decided to create a website and purchase hosting from my website using WHMCS. I (thought i) had it set up correctly with WHM/cpanel and opensrs, but both seem to fail once he created the domain and the account was set up. I'm not really sure what info to give you, but ask a away and help me troubleshoot my problems. as far as I know I have set everything up correct, but obviously I must be wrong in this assumption. ha. Thanks. Since I don't know how to edit or delete my old post, and I figured out half of it, I would like to rephrase my question if that is ok. ha Well, I got WHM to work, but I cannot get OpenSRS to register or even seem to recognize new domain purchases made through my site. What I have don't: Went to the "domain registrars" module, entered my username and private key and I have set up my Domain Synchronization's cron job. I have set up my domain pricing for .com and .net to start (by the way, which price overrides which? does the price set in whmcs override prices set in my opensrs account?) I then when to my opensrs account, here is where maybe I have messed up... I have entered two diffident possible access adresses (in the form of IPs), one for the location of my server, and one for the second domain name server ip, just in case. I was not really sure what "net block" to selecet so I stuck with the first option on both (255.255.255.255 /32 (1 address)) I hope that is right.... In addition to this, I have followed to the best of my abilities the "Additional Registrar Module Files Requirement" instructions in the whmcs wiki. I was not really sure what the expected file structure is supposed to be on this however. I know it says to place the files in "/modules/registrars/opensrs/" but was not sure if I was supposed to put the "Crypt" and "PEAR" folders directly in "/modules/registrars/opensrs/" or if maybe I was supposed to place the contents of those folders in "/modules/registrars/opensrs/" or maybe, place them in the scripts folder. For now I assume those folders belong directly in "/modules/registrars/opensrs/" As far as I know, these are the steps that have to be taken/asked Any feedback is helpful. Thank You 0 Quote Link to comment Share on other sites More sharing options...
dhollingworth Posted April 4, 2011 Share Posted April 4, 2011 Hi Brettlewis We have recently started using OpenSRS so hopefully I can assist you. I'll try to answer all your points in turn. 1. The domain synchronization cron job isn't involved in the registration of domains, so don't worry about this yet. 2. You have entered your OpenSRS username and the private key in the registrar setup. This is good. Make sure you don't have the "Test Mode" box ticked. 3. The price you have set in WHMCS is the price you charge your customer. So unless you want to sell domains at a loss this would normally the be same or higher than the price OpenSRS are charging you. 4. In the IP address settings make sure you've entered the IP address of your WHMCS server. If you've only 1 server then you only need to enter 1 address. You don't need the address of your CPanel/WHM server. Is your WHMCS server behind a firewall? If it is you will need to open ports 55443 and 55000 inbound and outbound to allow WHMCS to connect to OpenSRS. 5. The extra OpenSRS files should be placed under the modules/registrars/opensrs directory. So when you list this directory you will see something like: Crypt PEAR openSRS_base.php opensrssync.php OPS.php country_codes.php opensrs.php I had to download and ftp these files up to my server twice before the connection to OpenSRS would work properly. Something must have been corrupted the first time around. After all that it should work Regards David Snip.... Well, I got WHM to work, but I cannot get OpenSRS to register or even seem to recognize new domain purchases made through my site. What I have don't: Went to the "domain registrars" module, entered my username and private key and I have set up my Domain Synchronization's cron job. I have set up my domain pricing for .com and .net to start (by the way, which price overrides which? does the price set in whmcs override prices set in my opensrs account?) I then when to my opensrs account, here is where maybe I have messed up... I have entered two diffident possible access adresses (in the form of IPs), one for the location of my server, and one for the second domain name server ip, just in case. I was not really sure what "net block" to selecet so I stuck with the first option on both (255.255.255.255 /32 (1 address)) I hope that is right.... In addition to this, I have followed to the best of my abilities the "Additional Registrar Module Files Requirement" instructions in the whmcs wiki. I was not really sure what the expected file structure is supposed to be on this however. I know it says to place the files in "/modules/registrars/opensrs/" but was not sure if I was supposed to put the "Crypt" and "PEAR" folders directly in "/modules/registrars/opensrs/" or if maybe I was supposed to place the contents of those folders in "/modules/registrars/opensrs/" or maybe, place them in the scripts folder. For now I assume those folders belong directly in "/modules/registrars/opensrs/" As far as I know, these are the steps that have to be taken/asked Any feedback is helpful. Thank You 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.