How to host a WordPress blog on Awanbox
A WordPress blog on a Small awx computer that stays on, open at wordpress.awanbox.com. The built-in agent installs it from GitHub. After that it is ordinary WordPress.
This is a real run. The blog in this post is open right now at wordpress.awanbox.com. We made a Small computer, asked the agent to install WordPress from its GitHub repository, gave the blog a name, and then wrote a first post about Awanbox, with a photo of the cat and some tags.
What you need
- An
awxaccount. Sign in with Google at box.awanbox.com. - About twenty minutes, most of it the agent working while you wait.
- For a blog that is always open: a computer that never sleeps. On the Free plan a computer can stay on for as long as you have credit, which is used by the hour while it runs: Small is RM0.03 an hour, about RM22 a month. On the paid plan, which is not on sale yet, running is free. See Pricing.
Step 1: make a Small computer that stays on
In the dashboard press New computer. Give it a name, choose Small (0.5 vCPU, 1 GiB), and tick Keep it running until my credit runs out. A quiet blog does not need more. You can change the size later under Settings without losing files.
Step 2: ask the agent to install WordPress
Open the Chat tab and write what you want in plain words, with the GitHub address of WordPress: https://github.com/WordPress/WordPress. We asked for a web server, PHP and a database, kept small because the computer is small. We also gave the site title, the admin user and email, and said to save the admin password in a file on the computer and not to print it in the chat.
The agent worked for several minutes. It asked before it changed the database settings and before it created the database, because Ask me before is set to Risky steps only. We read each step and approved both. The password never appeared in the chat. It was in a file on the computer, readable only by the computer's user.
One fix, in one message
The first try opened, and then jumped to a localhost address. WordPress was building its links from the address of the visitor, and behind a public link that address is not the one you want. We wrote one more message asking it to always use https://wordpress.awanbox.com. The agent changed two lines, explained the cause, and checked that the page answered.
Step 3: give it a name
On the Links and domains tab choose Custom names, type wordpress and the port the blog listens on (we asked for 8080), and press Add name. The address wordpress.awanbox.com works straight away, and it stays until you remove it. Want yourname.com instead? See put your own domain on an awx link.
Step 4: sign in to WordPress
Open /wp-admin on your new address. The user name is the one you asked for. The password is in the file on the computer: open the Terminal tab and show the file, then clear the screen. Do not paste it anywhere else.
After you sign in you land on the Dashboard.
Step 5: set the basics in WordPress
Open Settings, then General. The site title was set by the install. Add a Tagline, a few words about the blog, and press Save Changes. The two address fields are greyed out on purpose: they are fixed in the setup so the blog always uses its own address.
Then open Settings, Permalinks. Post name gives readable links such as /what-is-awanbox/, which read better and help people find your posts.
Step 6: write a post about what Awanbox is
Choose Posts, Add Post. Type a title, press Enter, and write. Each paragraph is a block. Ours says what Awanbox is in three short paragraphs.
To add the photo, start a new block, type /image and press Enter. Choose Media Library, pick the picture and press Select. We asked the agent to put the cat picture in the library with one more line in the chat. You can also press Upload and use a file from your own computer. Fill in the alternative text, which describes the picture for people who cannot see it.
In the panel on the right, open Post. Under Categories add a category, and under Tags type each tag and press Enter. We used the category Awanbox and the tags awanbox, ai agents, cloud computers and wordpress. Tags and the category give readers a link to more posts on the same subject.
Press Publish, check the settings, and press Publish again.
The post, live
Here is the post as a visitor sees it, with the title, the date, the category, our three paragraphs and the photo, and the tags below it.
wordpress.awanbox.com/what-is-awanbox/.
Keeping it open
Back in the dashboard, Settings on the computer shows the three switches that matter here: the size (Small), Keep it running until my credit runs out, and Start by itself. The agent also set the web server, PHP and the database to start again with the computer.
Good to know
- It is public. Anyone can read the blog, and the login page is open to the world. Use a long password, as the agent did.
- Keep your own copy.
awxdoes not back up computers at the moment. In WordPress, Tools, Export downloads your posts. - You can ask the agent for the rest. Updates, a theme, a contact form or a backup plan are a message away, and it asks before risky steps.
- The same recipe fits other apps. Anything that serves a web page on a port can have a name like this.
Keep reading
- How to put your own domain on an awx link
- How to put your bare domain on an awx link, for yourname.com itself
- A PHP and MySQL assignment with a public link
- How to give the agent a job, then close your laptop
Getting started
Sign in with your Google account, give your name and confirm your email. New accounts are approved by hand, and you start on the Free plan. Make a computer, ask the agent, and see Pricing for what the paid plan will include.
Awi, signing off.