Questions tagged [server-name]

91 questions
0
votes
0 answers

Nginx - generic https and non www redirect

I´ve read a lot of threads about how to redirect www to non-www and how to redirect http to https (like this) But what I am really trying to achieve is, lets say, more generic way how to handle this (to have https every time and to have non www url…
Johnczek
  • 532
  • 9
  • 30
0
votes
0 answers

How do I set server name to in "combobox" slot?

I cant set my server name to default server name. How can I set my server name to default server name in c# "add connection" part. When I open first time "add connection", server name came with empty slot. enter image description here How do I add…
0
votes
0 answers

What is '_' in Nginx server name?

what is this mean in nginx server? server{ listen 80; listen [::]:80; server_name _; location / { } } is this mean nginx listen 80 from every server? please let me know
0
votes
1 answer

server name in sql server management studio

when I want to use SQL server managment studio , I dont know what have to write in in server name . pleas help me when I write "." it shows this error
Saeed
  • 1
  • 1
0
votes
0 answers

Basic nginx server_name setup issue (redirect url)

I am getting used to the nginx web server app. I have always had problems setting up the different server_name in the nginx conf file usually situated on /etc/nginx/sites-enabled/ What I did is I have setup up the server so it can display more then…
sin0c
  • 25
  • 4
0
votes
1 answer

Docker, MS SQL Server, SMMS not connecting unless I stop any local SQL Server Instance

I'm trying to connect to SQL Server in a docker container via SQL Server Management Studio. My docker SQL container instance is running with the following command: docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pizza1234$" -p 1433:1433 --name…
BanjoPete
  • 5
  • 3
0
votes
0 answers

apache wrong HTTP_HOST and SERVER_NAME in .htaccess but correct in php

I have an apache web server, version: Apache/2.4.34 (Red Hat), on it I have multiple virtual hosts now, in .htaccess, I have a redirect to cut the trailing slashes, but there, the variables HTTP_HOST and SERVER_NAME are always loaded with default…
TTudor
  • 1
  • 2
0
votes
2 answers

How to overwrite server_name value in istio 1.1 (envoy 1.11.0)?

The default value for server in the response headers is istio-envoy. How can it be overwritten to an arbitrary value? istio: 1.1 envoy: 1.11.0 Thanks
imriss
  • 1,815
  • 4
  • 31
  • 46
0
votes
2 answers

Apache2 ServerName and ServerAlias not working

On a nearly fresh Ubuntu 20.04 LTS computer, I would like to set up a virtual host on my local machine. So I created a index.html under /var/www/test/ with the following content: you have entered a test page I have set up a test.conf file under…
leo
  • 415
  • 1
  • 5
  • 14
0
votes
0 answers

Is there any way to serve 2 app on same server_name using nginx?

This is my first sites-enabled file server { listen 80; listen 443 ssl; server_name www.cobanextwithzone.test; gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; …
William Lim
  • 11
  • 1
  • 3
0
votes
0 answers

SQL Server 2014 server name is blank

I installed the SQL Server 2014 (express) on my laptop, but I couldn't connect to the database as the 'server name' is 'blank' & when I clicked on browse for more, I don't see any options there. Can anyone assist me with this?
Jayesh
  • 1
0
votes
2 answers

I modified script to work with php 7.1 changing eregi to preg_match, script worked for a a few minutes on wamp, and suddenly it stopped working

The script below creates a log file for all bot visits, sends me an email, and also verifies IP at ip2location. It worked just fine with PHP5.2 with the eregi function, so I modified the eregi line to preg_match and worked for a few minutes on my…
MrNedas
  • 17
  • 3
0
votes
2 answers

Dummy server name in flask development

Is it possible to create a dummy server name in Flask during production? For example I want the following: www.foo.com for the development. def main(): app.run(debug=True, host='foo.com', port=8000) such that routes…
ajrlewis
  • 2,968
  • 3
  • 33
  • 67
0
votes
0 answers

Configure nginx with support for multi subdomain and upstream

I have been trying to setup nginx as a proxy wherein request is routed to upstream based on subdomain. I hope example makes it more clear upstream ubuntu { server www.ubuntu.com:443; } upstream google { server www.google.com:443; } server { …
avaj
  • 299
  • 1
  • 5
  • 11
0
votes
1 answer

How to configure a proxy with a subdomain servername

I have the following vhost configuration in nginx: upstream mybackendsrv { server backend:5432; } server { listen 80; server_name sub.domain.org; location / { proxy_pass http://mybackendsrv; } } When I use a…
MMacphail
  • 541
  • 3
  • 19