Hey Guys,

I'm just trying to set up my Virtual Host file to set up an alias URL.

I've configured my Windows\System32\drivers\etc host file to include the following:

127.0.0.1		internal.test

this works well, however I want to be able to do the following:

Have this:
internal.test:8080/Test/

Look like this:
internal.test/

Thank you in advance

Sorry guys,

I've just re-read my original post and realized how vague it was.

I've tried to add the <VirtualHost> to the server.xml file within the Tomcat/conf directory to no avail.

I've scrapped everything and have tried to start from scratch, but I seem to be missing something.

I'm looking to have this working so that I can use the domain name across our internal network for work rather than having to use the ugly full ip address.

At current our ugly link looks like: 192.168.15.1:8080/fileLink/.

I don't particularly want to have to go through each machine and update the Windows\System32\drivers\etc\host file.

If anyone has either a link, or a possible example it would be much appreciated.


Thanks again !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.