Category: Server

  • The Ultimate Guide to HTTP Status Codes

    The Ultimate Guide to HTTP Status Codes

    Reading Time: 5 minutes The Ultimate Guide to HTTP Status Codes HTTP Status Codes HTTP Request Methods HTTP defines request methods to indicate the desired action for a resource. Here are the 9 important request methods: HTTP Status Codes Here is the complete list of HTTP status codes. 1XX Informational 2XX Successful 3XX Redirection 4XX Client Error 5XX Server […]

  • Javascript Arrow Function

    Javascript Arrow Function

    Reading Time: < 1 minutes JavaScript Arrow Function What Is Arrow Function ? Arrow function is one of the features introduced in the ES6 version of JavaScript. It allows you to create functions in a cleaner and shorter way as compared to regular functions. Syntax :- In fact, if you have only one parameter you can skip the parentheses () […]

  • Redirect non-www to www with Apache and NGINX

    Redirect non-www to www with Apache and NGINX

    Reading Time: 3 minutes Redirect non-www to www with Apache and NGINX It is a common requirement for system and website administrators to redirect users to a common entry point for their website — also known as a canonical hostname. This is usually in one of two directions, i.e. www to non-www   non-www to www. This brief guide […]