Why https and www are in same URL? [closed] - http

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Some URLs have both https and www.
What is the reason behind this?
For example, https://www.facebook.com starts with https://www. Is this redundant?

https is the protocol. It stands for hyper text transfer protocol (over TLS).
It means that you surf on websites and it is encrypted. By default, the protocol is http(no encryption) but this is often redirected to https.
www is the server.
It can be anything but in most cases, the web server is www. Also, the domains redirect you to the webserver (if it is configured that way) if you don't type it in explicitely.
Lastly, facebook.com is the domain.
Facebook registered to own the domain facebook.com. (.com are normally commercial websites) With that, they can deploy servers on addresses that end with .facebook.com in a way that they are found.
e.g. https://www.facebook.com means that you want to talk using the protocol https(secure web transfer) with the www server of facebook.com.

Related

Is it possible to create SSL certificate for local Subdomain? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I host some services at home myself and so far have only used DNS records and self-signed certificates for them. Now I'm having some issues with self-signed certificates (some apps are not working properly) and am trying to get a public domain to fix these issues. Before I do that, I just want to clear up one question that I have.
If I had my own public domain, let's say example.com and created a local subdomain, let's say plex.example.com. Can I create a Let's Encrypt SSL Certificate for this local subdomain? or should the subdomain also be public?
As I understand, you can use wildcard certificate for subdomains. For example, you can obtain certificate for *.example.com and use it for all your subdomains.
However, you cannot obtain non-wildcard certificate for a local network. See the guidance from CA browser forum:
4.2.2.Approval or Rejection of Certificate Applications
CAs SHALL NOT issue certificates containing Internal Names (see
section 7.1.4.2.1).

wordpress website AWS taking too long to load [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have a website running on wordpress (Bitnami).the server is on an AWS behind an elastic load balancer. However, when i hit the wordpress website, it is taking too long to respond.
There is another nodejs API that is running on the same AWS server (on port 4000). That is returning a response pretty fast. So, this would not be a DNS resoulution issue.
Any idea how i can debug the reason why the wordpress website is taking too long to load?
This will likely be a security group issue judging on the behaviour you're experiencing.
Ensure the following:
The Load Balancers security group allows inbound access (port 80 for HTTP, port 443 for HTTPS)
The instances security group allows inbound access from the load balancer (on the port the application should be loaded from).
Check the health of the host in the load balancer interface within the console.
If the database is external to the instance host (i.e. another server or RDS) then ensure it supports inbound access from the instance (port 3306 for MySQL).
If the database is running on the same server (the default for bitnami) ensure it is connecting to the host as localhost.

About the the use of Nginx [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I was learning nginx and as I found out that it is a load balancer helping to handle a loads of requests to a server. The question I wanted to ask is that as I also found out, nginx is best to be used when one server gets overloaded and we need to add up one more server. So, is it true that nginx is best to used ONLY when one server cannot handle the number of requests?
Although it looks like Nginx should be added only when you need to load balance between multiple servers, and IMO this decision is correct as sometimes it is good to avoid increasing the entropy if you can't manage it.
But apart from being a load balancer, Nginx is also widely used for:
Reverse proxy for multiple services [virtual hosts] (load balancing isn't mandatory)
Content caching (to avoid request hitting upstream servers everytime)
SSL termination
API Gateway (for security, rate limiting and routing)
Sometimes, also as a web server
so even if you aren't load-balancing you can get benefit from facilities provided by nginx like content caching, SSL termination, rate limiting, etc.
Later when need arises you can easily add more machines in the upstream to start load balancing.

Redirect static IP to domain [closed]

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 5 years ago.
Improve this question
I want to redirect my static IP to my domain.if entered IP its redirect to domain and show domain on URL. My web site is http://www.ramadoor.co and ip is : 87.247.179.84 .its on IIS and ASP.NET webform.Tanks
May be it helps you.
If the IP is assigned properly in the site binding and you're not using a host header then all you need to do is ensure that the domain name is registered and the A Record (host record) in DNS is pointing to the IP of the site.
It sounds like either DNS is not configured properly or the IIS site bindings are not configured properly or within your application there is some type of redirect occurring.
Add a binding to a site IIS 7
http://technet.microsoft.com/en-us/library/cc731692(v=ws.10).aspx
Configure a Host Header for a Web Site (IIS 7)
http://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx
Copied from here

How to hide my website port number on website url [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 12 months ago.
Improve this question
My website has implemented by using JAVA. So we have taken VPS and installed Tomcat then deployed
My website is appearing like this
whenever I click www.mysite.com in url ... it is appearing as below.
http://mysite.com:8080/foldername/
But I would like to see my website as www.mysite.com
Can any one suggest me what to do .. should I do any changes in htaccess file ?
If you don't provide the port number in the URL your HTTP requests would be sent to port 80. You can set up a firewall rule to redirect requests headed towards port 80 to 8080.
If you don't want a port number in your URL, you have to use the default port number for HTTP, which is 80. If it's anything other than 80, you will be required to put the port number in the URL. That's all there is to it.
Now, if your question is "how do I host my Tomcat website on port 80", well there are plenty of answers to that question both on SA and teh intertubes. Just search.
If you wish to redirect all request on tomcat on default port you have to stop the IIS and use port 80 for your tomcat application or make the changes in IIS to redirect it.

Resources