Is It Possible To Have Multiple Hostname for Multiple Domains in Single Linode?

Avatar forum:rizakyo 11 months, 2 weeks ago

Hi Guys,

Newbie here.

I just have been using Linode this last few weeks, and I am still stuck on this thing.

I have 2 wordpress websites on my Linode (1 server), but I figured out that it doesn't look good to see my has a hostname of my

So I tried to find how to make my has a hostname of "", and my "" has a hostname of "", but after days of trying, there was nothing work.

Could you please tell me how to do so?

Kind regards,


3 Replies

There are a couple of things at play here. First lets assume you actually own 2 domains names.

For the sake of the exercise we will assume you own (substitute your 1st real domain name here) and (substitute your real 2nd domain name here)

You will need a DNS record for and

You will need a DNS record for and

Setup your webserver for one wordpress site at with an Alias of

Setup your webserver for the other wordpress site at with an Alias of

You will need 24 to 48 hours for the DNS to work its way around the world.

If you don't actually own 2 domain names (remember you can't just make something up, and you can't use example. anything) then you will need to use subdomains of the domain name you actually own.

For instance, and where is replaced by the domain name you own.

This should get you started,

Hi Kangaby,

I am really glad that a senior member like you responded my question.

Yes, I do have two domains, which are now I have pointed to my linode (one vps).

The DNS records are set already.

My point was, I wanted to know if it is possible to have different hostname for each of my domains, although they are using a single linode vps.

I want to have: hostname: hostname:

Because, by default, when I check the hostname using an online hostname checker (, both of my domains have a same hostname (

which doesn't seem satisfying.

Please let me know if it is possible or not.



OK, I went to check-host and ran a few domains through it. The answer is probably no.

The hostname is the name of your Linode server. Since you only have 1 Linode, you only have 1 hostname. It's kind of like your first name, you can have only 1 first name.

check-host is probably using a reverse DNS (RDNS) lookup to determine the hostname of your Linode at the IP address of the domain name you type in.

If that is the case, and you have 2 IP addresses, you may be able to set 2 reverse DNS entries for your server so that points to Jupiter and points to Mars, using the real IP addresses and domains of course.

You would then have to host your 2 websites on the different IP addresses, so check-host does the RDNS lookups of the different IP addresses and get different answers for the hostnames.

All this does is hide the fact you are running 2 websites on 1 server, which is not really a big deal in the scheme of things.

If you don't have 2 IP addresses, it's probably not possible.


If you are getting the result you probably haven't setup the RDNS entry in the Linode control panel.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct