M
M
maniac_by2019-03-19 14:36:35
linux
maniac_by, 2019-03-19 14:36:35

How to bind multiple URLs to the same server and open different links?

Hello.
There is a task:
- Several aliases are created in DNS (eg test1.mydns.com; test2.mydns.com)
- These aliases are assigned to the server on which JIRA Server with Tomcat 9 is installed (from the jira pack)
Need:
- test1 address. mydns.com opens https://jira.mydns.com/project/test1/
- test2.mydns.com address opens https://jira.mydns.com/project/test2/
Any idea how to organize this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
ky0, 2019-03-19
@maniac_by

Rewrite on the web server.

A
aleks-th, 2019-03-22
@aleks-th

It's easy to set up in the web server config. Almost all web servers can. If you use exotics that can't.
--
You can put some nginx thread in front of your server, and resolve it to the subdomains you need, it's also a simple matter for half an hour or an hour maximum.

I
iBird Rose, 2016-12-02
@iiiBird

$('button').on('click', function() {
    var itemClick = $(this);
      listText = itemClick.siblings('.real_title_tovar').text();
      itemClick.parent().append('<input type="hidden" name="massa" value="' + listText + '">');
  });

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question