Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
in our company we have a Ubuntu 16.04.5 server, where we keep our intranet website and some other simple sites. All works good, but we can access the server using two names like - http://server/website/ and http://server1/website/ . I checked all apache2 files and all host files and I did not find anything related to the name server1, only hostname server. Maybe someone can help me figure out where something like this is configured on how to turn it off.
For me this is normal situation. You have configured one site on this machine. But your DNS server have two records for the IP of the machine. And when you reach apache via first hostname you get the site as it is defined. When you reach the machine via second hostname apache check the hosts defined and see there is no special definition for this hostname and serve the request with first configured host.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
in the /var/www/html directory I have many folders which contain websites like 'store/', and to access a website through my LAN I enter in the address bar 'myserveripaddress/store'.
I created a DNS file to access the website with a custom name but I don't know what to put in the file, I tried:
customname A myserveripaddress/store
but it didn't work, the only one that works is:
customname A serveripaddress
but it doesn't take me to the website under 'store/' directory for example.
Is there a solution?
DNS does not work this way. In this instance, DNS points domain at a server, but it is to the server how it responds to that request.
to get this to work, you would need to create separate web server configs for each of the "sub-websites" and then point the DNS record at domain name listed in that config.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to set up a VPN server, however it means ipv4 forwarding. Is it possible to set up a VPN without shutting down web services or should i use 2 separate servers ?
Thanks for reading ;)
Setting up a VPN server should not affect your web services. The only limitation is that you cannot use an HTTP(S) port (80 or 443), which I personally find practical (I have already seen Wi-Fi hotspots blocking all the ports except 80 and 443). However, if you get along with another port, you will do fine.
There is a good article about setting up an OpenVPN server on Debian Wiki (here). I have managed to set up the server using only this article.
Wishing you good luck.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Given:
a domain w/ gofather: gloriousdomain.com
w/ nameservers pointing to server w/ hostcrocodile
a subdomain: sub.gloriousdomain.com
a server w/ digitalpond and ip: 123.456.78.9
an A-Recordin hostcrocodile pointing sub.gloriousdomain.com -> 123.456.789
How do I make it so that when I enter sub.gloriousdomain.com in my browser it doesn't just reroute me and change my url to 123.456.78.9
cases where it's worked before
wordpress :
when you first set it up, it does the whole route to ip thing
then you finish the setup w/ it asking the subdomain and magically it's fixed
redmine
routes to ip until you type in the subdomain
Interesting facts
When I ping 123.456.78.9 it pings back 123.456.78.9
I thought passenger on top of nginx was doing some work helping the resoloution for redmine and that's why it worked, but to test it I stopped the service and pinged my redmine box
It turns out it was my ISP.
I reset my router thinking perhaps it was caching the page, turns out it was the ISP, they were serving me a cached version.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
The issue is that i cannot determine what domain name system external servers use.
I want to be able to spot which kind of domain name system client is a server using without having actually access to it.
I have tried several commands on n map with domain name system searching script, but the result is not clear.
For ports open i can use n map.
Is there a solution for domain name system spotting too ?
There is nothing within the DNS protocol which will do what you are asking for. Which port does not matter as port 53 is the standard DNS port and all DNS server regardless of what software they are running will respond on port 53 and will return data in the same way. Without access to the remote server you would not be able to identify what DNS server software they are running.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have installed Internet Information Services on windows and Apache on "Ubuntu" using apt-get command to install . "Ubuntu" is being run in my virtual box. now i want to connect these two computer together for which i opened fire fox on Ubuntu and entered my windows "IP address" in the address bar .windows firewall is off.
i ran # /etc/init.d/apache2 start to start Apache as well
Result: link of Microsoft.com/web with a huge IIS 8 on the page .what is wrong ?how can i fix this?
I don't really get what you are trying to do, but when you write the IP of a computer running either IIS or Apache, you should see a home page, probably the default one if you had never change it.
What are looking forward to do exactly?
In IIS the default html file is located in c:\inetpub\wwwroot\index.html
In Apache you should find httpd.conf file, it has the route to the default website, which probably is /www/index.html or something like that