[HELP][CLOSED] Virtual host on xampp for Oracle VM

Hello sir/madam,

I have a windows server with xampp, unfortunately the server has a dynamic ip so I’m using no-ip free sub-domain ddns.net I’m running the browser page nxtgc.ddns.net on Apache.
I have a virtual machine with centos running a gitlab server and I want to connect to it from work. But because of me having 2 websites on the same ip I wont be able to access the gitlab page.

my plan: I have thought of apache virtualhost to re-route port 8080, so if I enter nxtgc.ddns.net:8080 it should route to the gitlab server?

I really don’t see why creating another thread for this is going to help, but if you are planning on going this route, it might be a good idea to close your previous thread as they both head down the same road for the same answer.

I also would suggest learning about the technologies you are going to use as well or you will be using us to maintain everything from top to bottom, especially with that elaborate set up of yours.

I was planning to have this thread just dedicated to the technology of virtual hosting. When I plan on upgrading I will try to study them later on, so I can upgrade. And I’m studying right now and learning from the people who have done this, I’m bad at reading into something that doesn’t lead me to the goal.

The other thread was just for domains and how I could get a connection from the outside inside.

It is elaborate as it is just a prototype. The real server will be in a rack with about 100TB nas + 10TB gitlab on centos on an own server unit + 2 server units, one for game servers and other applications like web sites and teamspeak. And a 40GBps (cat 8) transfer speed on the network.

I been thinking that I just should’ve made one huge thread but it wouldn’t have fit into one category

Depending on where this conversation heads, I may clean it up and split it into its own topic later.


What this means is you aren’t understanding how the technologies can be used together. In the context of this thread, do you know how apache virtual hosting works?

If not, I would suggest getting a better understanding on how it works before continuing.

Do you understand apache proxypass/mod_proxy?

If not, learn to use it. Once you understand how both of these components works, it is easy to combine them together.

You don’t even need to memorize the correct way to syntax it since all your reference material is located on apache’s own documentation page. You really only need to know how to manipulate it and what it does exactly.


You say this now as if it is a guarantee, yet you’ve mentioned that you don’t have the income to afford your own domain name.

2 Likes

I’m sorry but my income is none of your concerns. It is a guarantee. Buying a domain is not yet worth the amount of traffic.

I will continue reading.

You can buy TLD’s from .xyz for $1.

Domains purpose is to get around the whole ‘dynamic IP’ thing. It’s not about the amount of traffic, it is about function. That’s why they exist. The original web was just IP addresses and hypertext.

Isn’t it enough to have no-ip free sub domain? I’m not ready at this point to register a domain for the server but maybe a support domain… And if I get the domain, I would be out of luck because I would need to manually update the ip of the server with the dns server.

I get the point of having a domain, but the tech is really confusing, and even the people making the tutorials think that this is very confusing and bad. If you can open my website nxtgc.ddns.net you notice it is not working because this is very hard to configure.

And how would I configure the virtual host to redirect to the gitlab page? When it looks like this:
<VirtualHost *:80>
DocumentRoot “c:/xampp/htdocs”
ServerName gitlab.localhost
<Directory “c:/xampp/htdocs”>


plan: shouldn’t I change 80 to 8080 so when gitlab.nxtgc.ddns.net:8080 is routing to the centos gitlab server in the vm?