📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Shared IP and DNS question

Options
Hello all,

I have my own website, but am a bit of a (complete!) novice at it all, so wanted to check my understanding on something.

I have a domain registered with 123-reg and a hosting package with Ariotek (previously Fuzioned). I use the cpanel program to log in to Ariotek, and it says I have a shared IP. When I enter the IP into my browser address bar, it takes me to a generic page explaining that whoever manage the server have cpanel installed. So far I follow this. I had a quick look at wikipedia, and it says that:

"When a web browser requests a resource from a web server using HTTP/1.1 it includes the requested hostname as part of the request. The server uses this information to determine which web site to show the user."

Does this mean that, when someone types my domain into their address bar, 123-reg will redirect them to the shared IP using the DNS nameservers I provided, and their browser will then 'tell' the Ariotek site the requested domain name (i.e. mydomain.co.uk), so it knows which part of its server to look at, to be able show my data?

I've probably made it seem more confusing than it really is... that's if I've even got it right! So, have I?

Comments

  • kwikbreaks
    kwikbreaks Posts: 9,187 Forumite
    Does this mean that, when someone types my domain into their address bar, 123-reg will redirect them to the shared IP using the DNS nameservers I provided, and their browser will then 'tell' the Ariotek site the requested domain name (i.e. mydomain.co.uk), so it knows which part of its server to look at, to be able show my data?
    In a word yes.
  • davb
    davb Posts: 1,293 Forumite
    Part of the Furniture Combo Breaker
    Yes, but 123-reg will most likely never see the request. Once you have updated the DNS on 123-reg to point to Ariotek, then it will pass that info on, and the DNS servers all over the web will get updated with the new info.
  • mr_fishbulb
    mr_fishbulb Posts: 5,224 Forumite
    Part of the Furniture Combo Breaker
    Does this mean that, when someone types my domain into their address bar, 123-reg will redirect them to the shared IP using the DNS nameservers I provided, and their browser will then 'tell' the Ariotek site the requested domain name (i.e. mydomain.co.uk), so it knows which part of its server to look at, to be able show my data?
    If I were to type in your url (e.g. https://www.yourdomain.com), this would happen (in the background):

    I would query my DNS provider to find out the IP address of https://www.yourdomain.com. It would come back with the shared IP address of your webserver.

    I would send a HTTP GET request to the IP address. The request would start off like this:

    GET / HTTP/1.1
    Host: https://www.yourdomain.com

    It is the HOST part in the header that tells your webserver which of the sites I am after.

    This is a feature of the HTTP protocol 1.1 which was not available in 1.0
  • kwikbreaks
    kwikbreaks Posts: 9,187 Forumite
    davb wrote: »
    Yes, but 123-reg will most likely never see the request. Once you have updated the DNS on 123-reg to point to Ariotek, then it will pass that info on, and the DNS servers all over the web will get updated with the new info.
    You can use the 123 DNS servers. This lets you retain full control over the entries which may not be the case is you use the host DNS servers (and some hosts don't provide DNS)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.6K Spending & Discounts
  • 244K Work, Benefits & Business
  • 599K Mortgages, Homes & Bills
  • 177K Life & Family
  • 257.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.