We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Shared IP and DNS question
Wings_of_Ambition
Posts: 1,748 Forumite
in Techie Stuff
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?
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?
0
Comments
-
In a word yes.Wings_of_Ambition wrote: »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?0 -
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.0
-
If I were to type in your url (e.g. https://www.yourdomain.com), this would happen (in the background):Wings_of_Ambition wrote: »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 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.00 -
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)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.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.4K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.5K Work, Benefits & Business
- 602.8K Mortgages, Homes & Bills
- 178K Life & Family
- 260.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards