1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is this possible we can get Nginx on Shared Hosting

Discussion in 'Nginx' started by ashokdhan, Apr 21, 2016.

  1. #1
    Hi guys cloud computing is always high.
    I heard some of shared hosting company provide Nginx on shared server.

    I am not 100% sure about that but i need to clear my point here is the company.
    Bluehost
    Hostgator
    Godday

    I am using blue its damn fast, can you guys identify is this Nginx or apache.
     
    ashokdhan, Apr 21, 2016 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    How should we know? If you're using Bluehost, ask them. Or look at what you ordered. Or what the documentation says. Or run your site through builtwith.com
     
    PoPSiCLe, Apr 21, 2016 IP
  3. Blizzardofozz

    Blizzardofozz Well-Known Member

    Messages:
    132
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    118
    #3
    I had websites on Bluehost before and was Apache. I guess all shared hosting use Apache because it allows to use .htaccess file in website's root for custom rules and as far as I know Nginx should be configured on the server.

    And to see what server a website is using just look at response headers.
     
    Blizzardofozz, Apr 22, 2016 IP
  4. ashokdhan

    ashokdhan Well-Known Member

    Messages:
    268
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    160
    Digital Goods:
    2
    Articles:
    1
    #4
    ashokdhan, Apr 23, 2016 IP
  5. Blizzardofozz

    Blizzardofozz Well-Known Member

    Messages:
    132
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    118
    #5
    Yes bluehost is with Nginx, I just checked a website that I made before but no longer work for and this website is on bluehost and the server is Nginx. But it has .htaccess also so I know what they are doing - they use Nginx and Apache together. Nginx for the static files and Apache for the php so clients can use .htaccess.
     
    Blizzardofozz, Apr 24, 2016 IP
  6. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #6
    More hosts are doing this to reduce resource consumption in serving static files (and to make servers more resilient in handling DDoS attacks). The catch is that these hosts are also caching static content and not every webmaster is going to know that. So if you upload a new static file (image or possibly even CSS), you may get the old version instead of the new version when you refresh your browser.

    These hosts using cPanel and an nginx front-end with an Apache back-end may have an item in the cPanel home page (when you log in) to disable the cache so you can do testing and the like when you upload new content. Also, some may have a URL you can navigate to to temporarily disable the cache for testing purposes. Your host's knowledge base support system or technical support can give you more information.

    A quick search shows that some hosts are also using Varnish for cashing.
     
    billzo, Apr 24, 2016 IP
  7. imort

    imort Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #7
    Hey
    Why don't you just ask their support or look at their sale sheet?
    It should be the most simple and obvious way.
     
    imort, May 12, 2016 IP
  8. 24x7servermanagement

    24x7servermanagement Greenhorn

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    23
    #8
    Your signature shows best hosting plans being referred to Bluehost. So if you have an affiliation account with bluehost you must be knowing what server they run on shared environment. Right ?
     
    24x7servermanagement, Jun 13, 2016 IP
  9. gexacor

    gexacor Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    You can use this command to check what webserver to your website using:
    
    $ wget --save-headers forums.digitalpoint.com
    
    HTTP/1.1 200 OK
    Date: Sun, 03 Jul 2016 12:26:12 GMT
    Content-Type: text/html; charset=UTF-8
    Server: cloudflare-nginx
    
    Code (markup):
    And you always can configure Apache + nginx on your own VPS server, not only use a shared hosting.
    Take a look here for some examples: https://serversuit.com/community/technical-tips/view/configuring-nginx-on-your-web-server.html
     
    gexacor, Jul 3, 2016 IP
  10. ilyasdeckers

    ilyasdeckers Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #10
    Bluehost probably uses nginx as a reverse caching proxy in front of their control panels to serve static sites faster. Swapping Apache with nginx in cpanel is really hard, it can be done but I never managed to get it stable enough for production use.
     
    ilyasdeckers, Jul 7, 2016 IP
  11. GokuDBZ

    GokuDBZ Well-Known Member

    Messages:
    408
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    140
    Digital Goods:
    2
    #11
    Running Nginx to serve static files & Apache for dynamic ones is the best known configuration and used by popular hosts. Bluehost uses this configuration and even we at 2Sync.co use the same setup.
     
    GokuDBZ, Jul 31, 2016 IP