I started a new project this weekend to start learning how to read/write to API’s. I had a dream of querying the LinkedIn API to read certain stats. This project will be documented later, but the goal of that project will be to evaluate the turnover rate for startups. Buttt before I get to that level, I kinda need to know the basics, right?
Welp. I bought a “Crash Course on API’s” from Udemy, and got down to it. The prerequisites for the course were to have a domain, a host for the domain, a text editor, and a FTP software to transfer my files from locally to online.
Needless to say, I was confused. I had bought a domain from WordPress recently, but it was hosted on WordPress, and I didn’t know what to do with it. Cue hours of googling and trying to figure out if I can even move my domain from being hosted on WordPress to another service like Hostgator or Bluehost. I finally came across an article articulating how to move your domain and followed it. The first step was to buy an account from hostgator. The class I was following along with had a coupon code for a month free! As a student, I graciously picked up on this offer. You can start to transfer your domain as you’re signing up for the account.
Ok, now my domain is moved to Hostgator. Now what? Well, turns out, I’m not done with WordPress. Apparently you need to change the nameservers in wordpress to reflect the new ones served up by Hostgator. This process can take up to 72 hours, they say, but it took about a minute or two for me.
So my blog is somewhat working, I’m trying to get the Facebook like button(exercise from the course to practice API calling) to show up on a random page in my domain.
My blog seems to let me in if I reach it through another browser, so I keep following along on the original tutorial and eventually get the code for a Facebook like button on another page in my blog. It works!!!
The blog was semi-working on hostgator, but WordPress.com sites really do work best with wordpress name servers. I ended up switching the name servers back to use wordpress.com, not hostgator. I’ll be playing around with the wordpress.org software and see if I can host it on hostgator instead! Stay tuned for my next post!