How to set up custom landing pages for your entire portfolio on one server (+ source files)

I have always found the concept of hosting my own landing pages interesting. Most of our sales come from inbound links. We park our names at a marketplace and they get a cut, even though they sometimes don’t even have anything to do with your sale.
I must say that I was thrilled when I stumbled upon this thread. This guy had made a beautiful landing page and was inviting everyone to use it.
First, I will be showing you how to set up a modified version of that page to work with multiple domains. I also want to walk you through modifying your own custom landing page to work with this technique.

1. Setting up your hosting:

The first thing you need is a webhost that allows multiple websites (as many as the amount of domains you have).
If you are registering your domains at GoDaddy, I suggest GoDaddy Deluxe hosting. Make sure to use coupon code cjceb50hu to get %50 off, or check this thread if it no longer works. This hosting plan allows for unlimited domains, which is exactly what we need.
If you register your names somewhere else, I do not recommend this hosting, as pointing external domains to GoDaddy servers is a pain in the ass. I would buy hosting at your registrar to avoid nameservers entirely. When picking your hosting plan, make sure you are able to host multiple websites/domains on a single server.

The next thing we need to do is point all of our domains to our server. Update your nameservers to point to your hosting as per your hosting and registrars instructions.
Additionally, you want to connect these names to your server. To do that go to Cpanel, then click Addon Domains. Enter your domain, and pick a home directory. The subdomain you pick is entirely irrelevant, and the home directory should be the same for every domain you add. I used /lander.

What your "Create an Addon Domain" form could look like

2. Changing and uploading files:

To get started, download this zip file. It includes a landing page template html and CSS and the PHP to make it all work, as well as a file called “”, which we will get to later.
The first thing you should do is edit the html file and change my logo to your own. To do so, just enter your own image url, company name and tagline in the bit of code shown below.The bit of code you need to editYou could also make some tweaks to the content of the page if you like. Open the file in a web browser and check if everything still looks good.

Also edit contact.php and enter your own email address on line 20.

Next, go to your webhost, find a file manager and upload these files into the home folder you specified in step 1: contact.php, index.php, bg.jpg, pricing.css, pure.css, lander_template.html.

3. Setting up your

When you open on your pc, you will find a file that looks like this:A preview of a file
This is where you write information that is specific for each domain.
For every domain, you need to enter (all seperated by “|”):
The domain, the buy it now price, the price per term (in the template there are 4 terms, so BIN/4), your paypal link (explanation below), another paypal link, a small description of the name.

In our template, the description automatically starts with the domain name, so you need to keep that in mind (see the example).

4. Setting up PayPal:

We will be using PayPal buttons to set up automatic payments.
To use buttons, you need to have a PayPal Business account. Getting one is really easy. Just log in, go to profile and click “Upgrade to business”.
To create a new button, go to Tools, All tools, PayPal Buttons.

Create a new button. We will be using “Buy it now”. For the product name, enter your domain name and enter your BIN price.
I like going under step 2 and checking Track inventory. When you enter quantity one, you avoid the rare incident where two people pay for your domain at once. You also need to enter a URL here, I just use my personal website.

Finally, under step 3, uncheck “Do you need the customers shipping address”.

Complete your button and copy the entire url under the ’email’ tab into your under PAYPAL_LINK_1.

What your final button code will look like

Go back and create a new button, this time the type should be “subscription”. Set the price, and the amount of terms (4 if you haven’t changed the template). Make sure term lenght is one month.
Also set the rest of the settings in step 2 and 3 like you did before.
Copy the link for email into your under PAYPAL_LINK_2.

Repeat this process for each domain by clicking: Action, create similar button.

Upload your to the same folder as the other files, and you are good to go!
To add or remove domains, just edit your

To turn your own landing page into a usable template, you need to tell the code where to put what. For instance, in your html, everywhere you want the price of the domain, replace it with [‘PRICE’].
The file is dynamic: you can change variables based on your template.
Let’s say your page doesn’t use any buying links, only an inquiry form, and you have specified [‘TITLE’] as a variable in your html.
You could change so that the first line would read
The only condition is that [‘DOMAIN’] must be first, or this will not work.
Also make sure to save it as lander_template.html.

I also want to give a shout out to mr-x from NamePros, for providing me with this nice template. Check out his websites: and

Finally, if you can’t or don’t want to set this up yourself, you can use the form to the right (or below if you’re on mobile) and contact me.
I will set everything up for you for a small fee.

Leave a Reply