Quickly Set Up Your Own Home Intranet With ocPortal

Ryan Dube 06-10-2011

how to create an intranetHave you ever thought about what it might be like to have a “portal page” for your family, just like many companies offer to employees? Wouldn’t it be convenient to have a central web-based repository of important documents, files and schedules for your family? Unfortunately, when it comes to operating a portal site, it’s difficult to find a free solution that isn’t scaled down in functionality. Most portal software out there comes at a hefty price, and any free scripts are either very simple demonstration sites or trial versions.


Luckily, there is an open source Portal that you can install on your own home web server. What this means is that you can create an Intranet start page in your home where all of your family members can access photos, videos, music, calendars, web links and any other resource that’s stored on the home web server.

Setting Up A Home Web Server With ocPortal

Unsure whether you have what it takes to create your own web server to install ocPortal onto? Have no fear – all you have to do is connect a PC to your home network, and then install and set up XAMPP as Dave described in his article How To Install A Windows Web Server On Your PC With XAMPP Read More .  You could also use some of the XAMPP tips I offered in my article on setting up a USB stick web server How To Set Up Multiple Portable XAMPP Web Servers On A Single USB Drive For some time now, I've been trying to develop a very fast and easy way to create a virtual web server (basically a local web server), on my portable hard drive. Not just one though.... Read More .

The prerequisites to installing the ocPortal on your home web server is to install XAMPP, and then create a MySQL table using PHPMyAdmin. Remember to create a user name and password on the table as well, ocPortal will need this information during the installation.

how to create an intranet

Once XAMPP is running and you’ve got the database ready, go ahead and download the ocPortal software. On XAMPP, your public HTML folder is hpdocs. Within this folder, you should create a subfolder called “Portal“, and then upload all of the ocPortal software files there. Then, go to http://localhost/portal/install.php.


This will kick off the ocPortal installation routine. One of the first options is to choose whether you intend to use a forum. Unless you have some other forum software from the list installed on your web server, just go with the ocPortals forum.

company intranet design

Don’t forget to change the database to mySQL, since this is what XAMPP uses. The next step of the installation will be to identify the domain. You should have your web server set to a static IP (use Karl’s instructions in his network domain article How To Set Up A Network Domain Read More to do this).

Use that static web server IP as the domain, and as part of the base URL settings. Leave the table prefix as is, and choose your preferred password.


company intranet design

Keep default settings on subsequent steps, and once you reach step 10, you’ll see the following completion screen if the installation completed without a hitch.

company intranet design

Go to your htpdocs/portal/ directory and make sure to delete the “install.php” file, or your portal will not work without flashing a warning at you on every screen. Now that your new portal software is installed, all you have to do is go to the IP address of your web server, like this:, and you’ll see your portal page. If you log in under the admin account you created during setup, you can click on the “Administration Zone” link  to set up the portal.


On the main admin page, you’ll see a status with reminders for each step of what you need to set up to get content loaded onto your Portal as quickly as possible. The nice thing about ocPortal is that it comes with lots of dynamic tools like a calendar, file sharing, an internal chat system and a whole lot more.

intranet content management

If you’re using the ocPortal for your family, like I am, the first thing you’ll want to do is establish the member accounts. You’ll find the Members panel under “Tools” in the Admin zone.

intranet content management


The majority of the time you’ll be spending, as the administrator/creator of the site, is in the editing areas. To get there, click on the Administration Zone, and then click on the “Structure” menu item to get to the website design page. You can access all of the same icons under the Structure menu list itself.

intranet content management

The “Site Tree editor” is probably my favorite method to design the site, because you can view sections of your portal in a tree-format. Clicking on any of the portal pages in the tree lets you choose to edit that “zone.” When you edit a zone, you’ll enter the “Zone Editor” where you can view the page and then edit the sections or “blocks” that you want to change.

Quickly Set Up Your Own Home Intranet With ocPortal portal11

Below is what my first attempt to redesign the main page looks like. I removed the poll, added an image of the day, included a schedule/calendar block to the right menu bar, and added in a news section that I can update every day.

Quickly Set Up Your Own Home Intranet With ocPortal portal12

It’s also really easy to add new pages to the portal by editing the left menu and then clicking to add those pages to your portal. Here, I’ve created individual pages for each family member, with items, features and links that matter most to them.

how to create an intranet

The beauty of ocPortal is that it takes so much less time to set up than if you were going to try and build an HTML portal page yourself on your web server. Installing this PHP application includes everything you need to build a fully-functional family or small-business portal site in just minutes.

So take ocPortal for a test drive on your own web server and see what you and your family think. Does it have all of the add-ons you need, and how is the learning curve? Share your experiences and your opinions in the comments section below.

Related topics: Computer Networks, Web Server.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. don
    March 29, 2015 at 10:08 pm

    Looks like I need to start exploring the use of a Pi in a home network! This article has made it look a very attractive solution!

  2. MrBill
    October 7, 2011 at 3:22 pm

    I should also mention that this is a great article, it's well written and layed out as well.

    • Ryan Dube
      October 11, 2011 at 12:20 am

      Thanks - I really appreciate that, and thanks for the insight on the flexibility of XAMPP. I agree, it's a great application.

  3. MrBill
    October 7, 2011 at 3:18 pm

    When compared to .Net and MSSQL, Xampp is literally a no brainer. Xampp also uses way less system resources and it 3 times (at least) faster when running on a Linux server. Xampp is also a fantastic way to learn php, MySql and to get to know what components a server admin needs to have to make their server uber functional and Xampp will run FOSS like PHPBB or WordPress, or Gallery (any version) much smoother and nicer than on a Windows based server. Of course, Xampp also includes a security script that runs on Linux, but not Windows which saves a server admin a lot of hair pulling ;-) I run my web server behind a Linux hardened firewall appliance and it runs on Ubuntu server software (free by the way) in headless mode. I've been running servers since the early '90's when everything was hand coded in text files. I started out running Windows Servers but found them to be inadequate to the task and ultimately I switched to Linux starting with fedora Core.

  4. bobconstans
    October 7, 2011 at 6:35 am

    I may not do the Portal Page, but you have inspired me to attempt to put XAMPP (USB Lite version) on the half of the USB stick that is not used by Windows ReadyBoost. I mean, hey, it's a drive I'm not using, yet taking up a port, right? I'll let you know how it goes.

  5. Guest
    October 6, 2011 at 8:03 pm

    I wanted something similar for quickly putting up personal and small business websites, but prefer working with .Net and MSSQL. I recently started looking into MojoPortal. It seems very powerful and flexible with the unique ability of running multiple sites from one installation. Haven't run into any snags yet, but I'm just starting out...

    • Ryan Dube
      October 6, 2011 at 11:56 pm

      Thanks for the comment - .Net and MSSQL is a good approach. I've yet to learn .Net myself - do you find that it was fairly easy to learn compared to something like PHP?