Build and host custom link in bio pages
Tags: tutorial, webappdevelopment, linkinbio, hosting
Published: 2023-06-05 15:03:27

---
title: Build and host custom link in bio pages
published: true
date: 2023-06-05 10:04:00 UTC
tags: Tutorial,WebAppDevelopment,LinkinBio,Hosting
canonical_url: https://codesphere.com/articles/build-and-host-custom-link-in-bio-pages
---

 ![Build and host custom link in bio pages](https://codesphere.ghost.io/content/images/2023/06/linkbio.webp)

Link in bio refers to a page where individuals or sometimes organizations collect and aggregate a bunch of relevant links on a mobile optimized single page website. The concept is mostly used in the social media & influencer world. Some services do not allow external links in posts (i.e. Instagram) while other Services allow external links but put visibility penalties on these posts (i.e. Linkedin).

These platforms have an inherent incentive for people browsing their feeds to stay on the platform as long as possible (capturing as much ad traffic as possible) whereas content creators and influencer have different incentives. Creating an external website with all relevant links and just referencing this link in bio page in your posts can be an effective way to increase the captured clicks per 1000 impressions. Similarly, even people outside of influencer circles might find these pages useful as effective mini CVs, to showcase personal projects they have been working on.

Did we convince you to also create on for yourself? Great then let's take a look at the options for setting something like this up.

## Setup the page

There is a wide variety of no-code website builders for link in bio pages out there ([google it](https://www.google.com/search?q=link+in+bio&ref=codesphere.ghost.io)) and for many cases such a service will be fully sufficient. They are easy to use and provide an experience catered to this use case exactly.

However at [Codesphere](https://codesphere.com/?utm_source=LinkInBioArticle&utm_campaign=Blog) we tend to be a bit more nerdy and like to do things ourselves. Building and hosting a link in bio yourself might be a bit more work but ultimately will give you a lot more flexibility and if you want to showcase things you built yourself, it might make sense to present these on a page you actually build yourself.

With Codesphere the hosting will be super easy and ([soon!](https://www.producthunt.com/products/codesphere?ref=codesphere.ghost.io)) we will have a free tier again, so you can actually host it for free, as long as your okay with it turning off when the server is not used.

My example for this post is currently available under [simon.codesphere.com.](https://simon.codesphere.com/?ref=codesphere.ghost.io)

The code for it can be found here: [https://github.com/Simon-Demo-Inc/link-in-bio](https://github.com/Simon-Demo-Inc/link-in-bio?ref=codesphere.ghost.io)

Let's go through it step by step.

1. Find a template, I started with the npm-bootstrap-starter but you can start from my repo or select any other framework (i.e. [pynecone](https://codesphere.com/articles/building-beautiful-landing-pages-in-vanilla-python-with-pynecone-in-codesphere?ref=codesphere.ghost.io)) 
2. Log in to Codesphere and create a new workspace from this template, all you need is a valid GitHub repository url
3. Install the dependencies, for me that required setting the node.js version `sudo -u admin n 18.5` and running `npm i`
4. Start your development server `npm start` 
5. Add some images, apply a styling that aligns with your personal brand or style
6. Click the `Open deployment` icon to view the results
7. To get your application live you might want to add one of your [custom domains](https://docs.codesphere.com/getting-started/custom-domains?ref=codesphere.ghost.io)
8. For easier maintenance we suggest to add the steps you performed in the terminal into your CI pipeline
9. Then run all the steps once more to make sure your app is running and rebooting automatically if it ever crashes 

![Build and host custom link in bio pages](https://codesphere.ghost.io/content/images/2023/06/ci-linkinbio.webp)

From there there is any number of additional (advanced) improvements you can make, i.e. minifying the html and css, adding [analytics](https://docs.codesphere.com/integrations/analytics?ref=codesphere.ghost.io) or even running [a/b tests](https://docs.codesphere.com/tutorials/a-b-testing-posthog?ref=codesphere.ghost.io) to improve the performance.