Using External SMTP Servers for Forwarded Email with Google Apps Address

In the spirit of Documentation December at Reclaim Hosting, I’m following up on a tutorial I wrote about Sending Mail from a Forwarded Email Address through Gmail. I was having issues adding my jim@reclaimhosting.com email account to my Gmail account as a sender. I checked and double-checked my SMTP settings, but no luck. I kept recieving the error message “Authentication failed. Please check your username/password.” I was stuck in a weird authentication limbo, and according to this forum thread I was not alone.

What was worse, none of their suggested solutions worked for me. I then went to the oracle Tim Owens who noted Google requires the use of external SMTP servers for sending to additional addresses, and given we are using Google Apps servers for our Reclaim Hosting email accounts, they’re probably not be considered external. And if there is anything resembling a theme in my life these days, it is the following: Timmmmyboy was right!

I used the SMTP servers and credentials for our Mandrill email account and it worked perfectly, the credentials look something like the following.

SMTP Host: smtp.mandrillapp.com
Port: 587
Username: your@mandrill.email
Password: yourmandrillpassword

 

Reclaim’s Daydream Nation

Spirit desire.
– “Teenage Riot,” Daydream Nation

Last week we christened yet another host node server at Reclaim Hosting (Fugazi filled up quick!), this one was named after NYC’s indie rock pioneers Sonic Youth. It was interesting timing because the first school we got setup was NYU—their Library will be running a pilot web hosting service for their community through Reclaim. Last week was also when Audrey Watters released the aspirational Kraken that was her post on Indie Ed-Tech. It’s a brilliant follow-up on her year-end post about the Indie Web in 2014. I read the post several times while listening to Sonic Youth’s Daydream Nation (I recommend the experience), and what struck me is the strong, brilliant chorus of aspiration—a desire to challenge what’s peddled in the pedant realm of the possible, a bending of the very genre of what ed-tech is, was, and can be. And no one sees that spirit of desire more clearly; articulates what we can’t hear more soundly; or sings the story of our field better. #NOBODY!!!

…indie ed-tech underscores the importance of students and scholars alike controlling their intellectual labor and their data; it questions the need for VC-funded, proprietary tools that silo and exploit users; it challenges the centrality of the LMS in all ed-tech discussions and the notion that there can be one massive (expensive) school-wide system to rule them all; it encourages new forms of open, networked learning that go beyond the syllabus, beyond the campus. It’s not only a different sort of infrastructure, it’s a different sort of philosophy than one sees promoted by Silicon Valley – by the ed-tech industry or the (ed-)tech press.

We may fall, but not with giving those bastards everything we got!!!

It’s an anthem in a vacuum on a hyperstation
Daydreaming days in a daydream nation

Where Did All My Disk Space Go?

Sometimes you may find that you just plain need more disk space. Perhaps you're regularly uploading large files to build an online archive for a project or you work with video files that need to be stored locally. As Reclaim Hosting has grown over the years we've consistently increased our storage options and luckily upgrading is an easy process! That being said we always encourage folks to diagnose the source of disk space issues to be sure there's not any other issues at play. Automated backups you weren't aware of in a folder on your account because of a plugin, or a log file that has grown rapidly could be the source and simply deleting a few files could free up large amounts of space in your account. But how to find that large needle in the haystack?

cPanel has a rudimentary tool in the control panel called Disk Usage which is found under the Files section. Disk Usage will calculate the size of every folder in your account and display it in a nice graph. However the biggest caveat that makes this a poor solution is that the Disk Usage tool will not let you navigate to subfolders. More often than not you'll find that the public_html folder which houses all your web content is the largest, but that could still leave you searching blindly for more information on where within that folder the culprit is.

Disk Usage in cPanel

Disk Usage Detail View

Because of the limitations of this tool we add a program to our servers called Ncdu. Ncdu runs from the command line so you'll need to be logged in via terminal with your SSH account, however you'll find the interface pretty friendly. Once logged on simply navigate to the folder you want information about and type the ncdu command to get a text-based graphical representation of the largest folders.

ncdu

Because the folders and files are ordered by size I recommend starting at the root of your account and running the tool. You can use the arrow keys to move up or down and enter to navigate into a folder and get a readout of the size of its contents. In our experience it makes quick work of analyzing disk space issues and finding any opportunities to clear out the cruft. When you're finished simply hit the q key to quit.

We've added ncdu to many servers but if for some reason it's not available in your account on Reclaim Hosting put in a support ticket and we'd be happy to make sure it gets added.

Using Google Apps with your Domain

Managing e-mail can be one of the harder parts of reclaiming your space on the web. While building a web presence is easier with modern applications like WordPress, the state of email clients and protocols is much less advanced. You'll have to grapple with getting your IMAP accounts setup and all the settings correct, webmail options are limited in functionality, and deliverability is always a concern with shared hosting servers.

Many users for this reason decide to use a service like Google Apps with their domain. Google Apps allows you to have email addresses based on your domain but completely powered by Google using Gmail as a webmail interface and connecting to any Google-supported client. Luckily it's absolutely possible to push mail to Google while still maintaining complete control of your domain for building out content on Reclaim Hosting. This is done by editing several MX Records which are a type of record for your domain that tells our servers who is in charge of handling email for the domain.

Google outlines the necessary records for setting up Google Apps on your domain at https://support.google.com/a/answer/33915?hl=en. Essentially we'll be editing the MX records to reflect the following:

Priority Mail Server
1 ASPMX.L.GOOGLE.COM.
5 ALT1.ASPMX.L.GOOGLE.COM.
5 ALT2.ASPMX.L.GOOGLE.COM.
10 ALT3.ASPMX.L.GOOGLE.COM.
10 ALT4.ASPMX.L.GOOGLE.COM.

To make these changes you'll log into cPanel and navigate to the Email section and choose MX Entry.

Email Section in cPanel

By default cPanel creates a single MX entry that points to your main domain as the server for email (so if your domain is hosted by Reclaim Hosting mail will be routed through the server your domain is on). We'll need to change that to take advantage of Google Apps for email. Each MX record has two items, a Priority number which tells the server which order to check for email records, and a Destination which is a domain that will serve the email.

MX Entry Editing Interface

You'll need to edit the existing one (or remove it) and then add a few additional ones from the table above. When you're done the records should look like this:

Completed MX Records

You're all done! Keep in mind changing records can take 24-48 hours to begin working, though it typically will happen much sooner. Once the records have propagated globally all email will be routed to Google and you can use their system to handle all of your email functionality while still maintaining control of your domain from Reclaim Hosting.

Domains as Ground Zero for the Struggle over Agency

BYU’s Bold Plan to Give Students Control of Their Data

BYU’s Bold Plan to Give Students Control of Their Data

I was really pleased with Marguerite McNeal‘s article in edSurge on Brigham Young University’s Personal API experiment. It can be hard to explain (at least for me), but she does an excellent job providing an accessible frame for the project by looking at it in terms of students finally being able to manage and control their own data. I think the following paragraph summarizes the idea behind a personal API as clearly as anything else I’ve seen:

A personal API builds on the domain concept—students store information on their site, whether it’s class assignments, financial aid information or personal blogs, and then decide how they want to share that data with other applications and services. The idea is to give students autonomy in how they develop and manage their digital identities at the university and well into their professional lives

The idea of autonomy in relationship to our personal data puts the discussion in a far broader context, and its immediacy is anything but academic. That said, I think it’s telling that a number of universities have been pushing hard to bring the importance of controlling your data to their academic communities. BYU’s work around the personal API is a really exciting early attempt at what this might look like. I could listen to Phil Windley talk about what he calls “sovereign source identity,” an idea he credits to Long islander and UMW grad Devon Loffreto:

“We want to teach students that this isn’t the only way identity happens online. They can create their own,” Windley says. This fall BYU introduced its Domain of One’s Own pilot to 1,000 student and faculty participants. But offering personal Web spaces is just the beginning, Windley says. “Domains help students understand their personal identity. The next step is understanding your personal data and how you control that.”

Absolutely right! And Adam Croom, who has been going gang busters with University of Oklahoma’s Domain of One’s Own project OU Create, frames this argument along the lines of a negotiation that should be taking place but isn’t:

“It’s the idea that tapping into one’s data should be a negotiation that the student gets to make,” says Adam Croom, director of digital learning at the Center for Teaching Excellence at the University of Oklahoma (OU). “Why can’t I manage what apps tap into my data, whether that’s the learning management system or the bursar’s office? Why aren’t there terms and conditions for students to understand who has access to their data?”

Another article I found alongside this one, thanks to the Cassandra of Ed-Tech*, was the article in Education Week proclaiming 2016 will be “The Year of Agency.” If that’s right—and I hope it is—that means more an more universities will need to start rethinking their infrastructure, and APIs have helped BYU and University of Oklahoma do just that. And so much of that work has been make possible thanks to the tireless evangelism of Kin Lane who has provided a vision of what APIs can be for Higher Ed. One we desperately needed.

At the same time, giving students, faculty, and staff more control over their data will be without some serious struggle. A response to this article published today on EducationDive illustrates why giving students control over their data might be an issue for some:

Schools are tracking student movements around campuses, incorporating data about how many times they visit the library or the tutoring center into performance data, merging that with student information system and learning management system data, and then developing predictive models to help counselors and students themselves. Giving students access to their own data is one thing, but letting them block others from seeing it is a different beast that could derail retention efforts.

Derailing retention? It’s strange to see the idea of allowing students to decide who gets to see their data, for how long, and why as somehow antithetical to keeping them? There is a joke in there somewhere. Fact is, the realities behind the learning analytics applications that have been relentlessly tracking student’s personal data may very soon be coming to a head. I would bet there has been little to no transparency about what student data universities are tracking, and whom they are sharing it with. Hell, I’m sure a number of universities aren’t even aware themselves of what data these third party applications are collecting. The idea that someone empowering students to opt-out of these unilateral relationships with various technology vendors is somehow preventing them from doing their job is demonstrative of just how much of the job of teaching and learning they’re offshoring to third-party technology solutions. And I won’t even get into the insane idea that tracking a student’s movement around campus is a sound academic counseling strategy.

Reclaim Hosting was born out of a movement that is grounded in the principle of empowering students and faculty to take control of their teaching and learning. And as Phil Windley notes, understanding who has access to their data and how it is being used will be ground zero for that struggle if we are, indeed, entering the year of agency.

_______________________

*I found this article thanks to the all-knowing, all-seeing Audrey Watters, who linked to it in this week’s Newsletter. You’d think given I was quoted in this I might know about it, but Audrey actually reads the web—all of it—unlike me :)

Reclaiming Your Addon Domains

Today’s entry in Reclaim Hosting’s #DocumentationDecember brings you a guide on how to set up and manage your addon domains! We’ll go over what an addon domain is, why it might make sense for you, and we’ll walk you through how to get an addon domain activated on your Reclaim Hosting account.

What is an addon domain?

In our documentation on how to set up and manage your subdomains, we make the analogy that owning a domain is sort of like having a piece of “territory” on the web, like a tract of “web land.” Using a subdomain (like docs.reclaimhosting.com or domains.reclaimhosting.com) is a great way to develop your land and put different kinds of property on it, but if you want more land for an entirely different purpose, an addon domain might be a better choice for you. Eventually if you have enough domains you can start building houses on them, and then if you have enough houses you can build a hotel.

Obtaining an addon domain

You can buy a new domain name directly from us through your client portal, or you can transfer a domain you have from another registrar to your Reclaim Hosting account. For this post, we’ll go over how to set up a new domain (purchased from us) first, and go over how to transfer in a domain from another registrar at the end.

Setting up your new domain

You don’t need a new Reclaim Hosting account to get another domain, and you can manage all of your domains from the same account portal. For example, let’s say you have an awesome blog that you’ve been posting to for 10 years, and you want to ride the success of your blog to new heights by opening Javatuesdays, a gourmet espresso shop. You decide you’d like to buy javatuesdays.com to commemorate the grand opening of your new shop.

To start, log-on to your Reclaim Hosting account, hover over “Domains,” and click “Register a New Domain.”

Reclaiming Your Addon Domains

Reclaiming Your Addon Domains

In this screen, simply type in the domain that you’d like to register and select a suffix (.com, .net, .org, etc) – our system will confirm that the domain is available (or not); in our case, javatuesdays.com is available, so I’ll click “continue.”

The next screen will give you a couple of options.  The first option is to purchase identity protection for your domain at a cost of $7.00. ICANN (basically the governing body of the Internet) requires you to identify yourself when you register a domain with your name, address, email, etc. Without identity protection, another Internet user can use a tool called whois to look up your information and contact you personally about products or services. Identity protection masks this information on your behalf, and if there is an issue with your domain, ICANN will contact the registrar (that’s us) and we will contact you on behalf of ICANN. Personally, I recommend the identity protection unless you are registering a domain for an Internet business and want your personally identifiable information to be “easily found.”

The second option asks if you’d like to change the nameservers for your domain. If you are hosting your website through Reclaim Hosting, you do not need to change these settings. You would only want to change your nameservers if you were hosting your website with another provider (like Squarespace) but wanted to keep your domain registered with Reclaim.

In our example, we’re hosting javatuesdays.com with Reclaim Hosting, and opted to purchase the Identity Protection. After clicking “Continue,” you can review your order and check out by putting your credit card information in the bottom right under “Payment Method.” When you’re all set, click the “Complete Order” button on the bottom. When your order is complete, you will see a link to return to your client area.

Starting up a site for your addon domain

As mentioned earlier, you don’t need a new hosting account for your new domain! Once you’re back in the Client Area, click on cpanel, and then click “addon domains.”

Reclaiming Your Addon Domains

In “addon domains,” fill in the “new domain name” field with the domain you just registered; the “subdomain” and “Document Root” fields will populate automatically. In our case, I am going to remove the “.com” from my “Document Root” folder, but that is only for my convenience, you do not need to do this.

Reclaiming Your Addon Domains

You also have the option of creating a new FTP account that has access to the content on your domain. You also do not need to do this, but you may want to if you’d like to give someone else FTP access to your site, so I am going to go ahead and set that up. Your existing FTP credentials will allow you to get access to all of your Reclaim sites, and a refresher on how to use FTP can be found here.

Once you’re done setting up your domain options, click “Continue” and wait a few seconds for your changes to process. That’s pretty much it!

Installing applications on your new domain

Once your domain is set-up, back in cpanel, you can select a featured application and install it to your new domain. For javatuesdays.com, I’d like to install WordPress, so I’ll click “WordPress” and then click “Install this application.”

On the install page, click on the drop-down menu at the top and select your new domain, then enjoy your new site!

Reclaiming Your Addon Domains

Transferring a domain from another registrar

Transferring a domain you already own is not too much different from registering a new domain, except the transfer process requires an EPP code, which is basically an agreement code obtained from your registrar that allows the registrar to release your domain. Basically, to start the process, click on “domains” in the client portal, but instead of clicking “register a new domain,” click “transfer domains to us.” You will be prompted to enter your EPP code on the same screen where we ask if you’d like to buy the identity protection. The process is pretty standard across registrars, but there are a couple of “gotchas” (these are the rules set by ICANN) to be aware of no matter what, and it’s worth noting that these rules also apply if you would like to transfer out of Reclaim Hosting (but we know it won’t come to that!):

  • If you have whois protection enabled through your registrar, you must disable it (temporarily) before you initiate the transfer. This is because we will send a confirmation of authorization email to the email address on your domain that you provided to the original registrar. (think of it like a “are you really sure you want to transfer? message)
  • You must click the confirmation link in the email we send, or you will have to start the process over!
  • Your domain must not be less than 60 days old, and you must not have previously transferred your domain in the last 60 days.
  • The domain transfer process can take up to 5 days.

Here are the transfer/EPP code instructions for some popular registrars:

Namecheap (they provide some of the most comprehensive info on this process, if you’re interested)

GoDaddy

Network Solutions

Hover

If your domain registrar doesn’t appear here, you can do a Google search for “epp code” and then the name of your registrar, and remember, if it’s helpful to you, it’s probably helpful for others, so send us a support note and we’ll feature your suggestion here!

We will confirm once your domain is transferred, and then you can follow the same directions (starting with cpanel) to set it up as an addon domain. Happy Reclaiming!

Managing Databases with cPanel

cPanel Database Tools

cPanel includes several tools for managing databases in your account. The MySQL Database Wizard is a quick way to create databases, database users, and associate the two. The MySQL Databases area will show you all the databases and users you've created an help you manage the creation and deletion of them. But when it comes to management there are two tools that I use often for editing, searching, importing, and exporting content within your databases.

The first tool is built right into cPanel called phpMyAdmin. This is actually a third-party piece of software that cPanel has integrated into the control panel to manage your databases. You'll still create and delete databases and users with the previously mentioned database management areas, however phpMyAdmin shines at allowing you to see and modify the content within databases as well as good import and export options.

Screenshot of phpMyAdmin

While the look and feel of phpMyAdmin hasn't changed much over the years, it does a good job of showing you what you need to know. A list of your databases is available on the left sidebar. Across the top are all the various tools to interact with the selected database from browsing or searching the data, running queries on the database, or backing up and restoring the database. You have the option of running commands on particular tables here as well as the entire database. While some of the terminology can tend towards complex jargon, I do find some of the tools pretty straightforward, this backup section for example:

phpMyAdmin Backup Screen

Although phpMyAdmin can be convenient because it's built right into cPanel, there are also desktop applications that you can take advantage of for management of your databases. A popular one is Sequel Pro for Mac (and best of all, it's free!). In order to use Sequel Pro or any tool external to cPanel, you'll need to give your internet connection permission to access the databases. This is done using the Remote MySQL section in cPanel. The way your computer's connection is identified is by its IP Address which is a unique address assigned to your computer by your network provider when you connect. You can find yours by going to http://ip4.me/ or even asking Google. Once you have your IP address you can enter it into the Remote MySQL section and you'll now have permission to connect to your databases from your internet connection. If your IP address changes you'll need to update it in that area.

Remote MySQL

In Sequel Pro you can connect to individual databases by putting in credentials that have access to that database (as well as your domain as the host). Keep in mind this is not your cPanel username and password, rather the username and password for a Database User that has access to the database you want to manage. Once connected you can take advantage of the tools in Sequel Pro to manage your database in the same way as with phpMyAdmin.

Screenshot of Sequel Pro

Database in Sequel Pro

Managing Databases with cPanel

cPanel includes several tools for managing databases in your account. The MySQL Database Wizard is a quick way to create databases, database users, and associate the two. The MySQL Databases area will show you all the databases and users you've created an help you manage the creation and deletion of them. But when it comes to management there are two tools that I use often for editing, searching, importing, and exporting content within your databases.

The first tool is built right into cPanel called phpMyAdmin. This is actually a third-party piece of software that cPanel has integrated into the control panel to manage your databases. You'll still create and delete databases and users with the previously mentioned database management areas, however phpMyAdmin shines at allowing you to see and modify the content within databases as well as good import and export options.

Managing Databases with cPanel

While the look and feel of phpMyAdmin hasn't changed much over the years, it does a good job of showing you what you need to know. A list of your databases is available on the left sidebar. Across the top are all the various tools to interact with the selected database from browsing or searching the data, running queries on the database, or backing up and restoring the database. You have the option of running commands on particular tables here as well as the entire database. While some of the terminology can tend towards complex jargon, I do find some of the tools pretty straightforward, this backup section for example:

Managing Databases with cPanel

Although phpMyAdmin can be convenient because it's built right into cPanel, there are also desktop applications that you can take advantage of for management of your databases. A popular one is Sequel Pro for Mac (and best of all, it's free!). In order to use Sequel Pro or any tool external to cPanel, you'll need to give your internet connection permission to access the databases. This is done using the Remote MySQL section in cPanel. The way your computer's connection is identified is by its IP Address which is a unique address assigned to your computer by your network provider when you connect. You can find yours by going to http://ip4.me/ or even asking Google. Once you have your IP address you can enter it into the Remote MySQL section and you'll now have permission to connect to your databases from your internet connection. If your IP address changes you'll need to update it in that area.

Managing Databases with cPanel

In Sequel Pro you can connect to individual databases by putting in credentials that have access to that database (as well as your domain as the host). Keep in mind this is not your cPanel username and password, rather the username and password for a Database User that has access to the database you want to manage. Once connected you can take advantage of the tools in Sequel Pro to manage your database in the same way as with phpMyAdmin.

Managing Databases with cPanel

Managing Databases with cPanel

Reclaim the Portfolio

A university contacted me earlier this week to see if we had anything their faculty might be able to play with in terms of portfolio solutions. Tim Owens created the amazing State University as a demo site for anyone interested experiencing what a Domain of One’s Own package would be like. I took the opportunity to create a couple of quick tutorials and borrow a couple more to showcase how one might imagine web hosting in terms of a portfolio—Documentation December in action!. Below are the first wave of resources I created on the Reclaim Hosting site here. I plan on regularly updating this page with more focused resources given this quick quide is focused specifically on customizing WordPress after it takes you through the minute and a half it required to get an account and install WordPress. Damn we are good!
______________________

appboxKeep in mind that Reclaim Hosting is first and foremost a web hosting platform that allows students, staff, and faculty to build their digital presence online. In this regard it is by no means limited to portfolios, you can use it to create anything from course hubs to research sites to personal blogs and much more. At the same time, it provides several applications commonly used for portfolios in higher education, such as WordPress, Omeka, and Mahara to name just a few. What you get in a portfolio from Reclaim Hosting versus specific portfolio tools like Digication, Chalk & Wire, etc., is choice and possibility. You are not limited to a specific, proprietary system; you can customize your portfolio with thousands of freely available themes and plugins; and, finally, you have access to software that is popular, portable, and affordable.

In order to get a sense of how Reclaim Hosting could provide a portfolio solution for your university, we have created State University. StateU provides the opportunity to experience how getting access to a domain and web hosting would work at your school.

Screenshot 2015-12-17 14.51.19

Signing-Up at StateU

The following video will demonstrate how easy it is to get up and running with a domain and web hosting on StateU.


Continue reading “Reclaim the Portfolio”

Folder Structures in cPanel

Top-Level Folder Structure

We utilize an industry-standard control panel for hosting called cPanel at Reclaim Hosting, which has a lot of great tools for managing your account. However one area that can be confusing is the folder and file structure of an account and what all those folders actually do.

Screenshot of File Manager

Your account will typically be provisioned on the server under the /home/username folder where username is your cPanel username. This folder is sometimes called the top-level or root of your account. An easy mistake to make is to upload files to that folder and expect them to show up on your website, however the root folder is not publicly accessible on the web. The root folder holds system folders for a variety of functions that cPanel relies on (which is also why you should never delete these folders). A few of them are below with explanations:

  • application_backups - Any locally stored backups from Installatron will be stored here.
  • logs - An archive of Apache access logs for your domain.
  • mail - You guessed it, email to local email accounts on your domain is stored here.
  • public_ftp - This folder is not often used except for instances where you need a space to allow an FTP users to upload files that aren't immediately public.
  • public_html - This is where the magic happens. This folder is the main folder for your domain that is accessible to the web. Files uploaded to this folder will be visible on your main cPanel domain.
  • tmp - Temporary uploads and statistics information is stored here.

So as you can see when uploading files to your account you'll likely want them to be in public_html in order to be accessible on the web. So if a file image.jpg is uploaded there it's available at yourdomain.com/image.jpg. Likewise if you create a folder inside of public_html and add the same image there it would be accessible at yourdomain.com/foldername/image.jpg.

Subdomains

Subdomain Interface

You can create subdomains in your cPanel account under the Domains > Subdomains area of cPanel. By default (and a recommended best practice) cPanel will create a folder for that subdomain that is inside public_html and named after the subdomain (remember all files in public_html are the ones publicly available on the web). cPanel calls this the Document Root for the subdomain. So if a subdomain blog.yourdomain.com is created cPanel will create a folder named blog inside of the public_html folder.

Addon Domains

It is possible that you purchased a second or third domain and want to add it to your cPanel account. The interface for this is in cPanel under Domains > Addon Domains and is similar to the Subdomain interface in that cPanel will also create a Document Root for the domain (typically based on the name of the domain) inside the public_html folder. So if I add newdomain.com as an Addon Domain cPanel will create a folder named newdomain.com inside of public_html where I can now place files I want to host at that domain. Once a domain is added in Addon Domains it becomes available throughout cPanel for use, however the domain must be registered first either by Reclaim Hosting or with another domain registrar and the nameservers must point to Reclaim Hosting.