Different domains for game server/website/etc...

  • Posted May 30, 2013

I run a Minecraft server and am trying to get a website working with a different domain, I have a domain, we’ll say, so I want the Minecraft server address to be and the website to be and Is there any way to do this with only one droplet? If you need any more information on this let me know, I’m not too experienced with this type of thing.

Thanks in advance.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@Dan: I suggest you ask in the official zPanel forums as people there are more experienced with zPanel and are able to help your better:

Well when I install zpanel it makes it have the domain of is that supposed to happen and can I change it after the installation?

Did you install zPanel on your server? If so, I recommend using it to create virtualhosts/websites instead of manually editing the configuration files.

Ok, so I have set that up now and it seems to be working, but now another thing that I want to do is have different subdomains. Like I want the normal and then another that is I can’t figure out what I need to change/add to make that possible, this is what my VirtualHost config looks like: <br> <br><VirtualHost *:80> <br> ServerAdmin <br> DocumentRoot /var/www/ <br> ServerName <br> ServerAlias <br> ErrorLog /var/www/ <br> CustomLog /var/www/ common <br></VirtualHost>

As I said before, I am really not experienced with this type of thing, right now I have pointing to my droplet, that works fine, but then if I have a site, that domain goes to it, I don’t want that, I only want to go to the site, how would I do that? I’m sorry if there is already a tutorial for this, but I can’t find it.

Websites are not related to the minecraft server as they’re each listening on a separate port. <br>You can create an A record so that points to your droplet’s IP address. <br>As for the website, you can configure it as you would normally do.