• 0

Help with url problems


Question

hey,

will use neowin for this example..

for neowin you log on to www.neowin.net which takes you to their hosts address that is likely to be something much longer or even an ip address.

How do you do it so that the page or folder forums... shows up as www.neowin.net/forums and not just the hosts name or ip and then /forums..

basic stuff i know,

thanks in advance

Link to comment
https://www.neowin.net/forum/topic/184064-help-with-url-problems/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You will probably find that www.neowin.net exists as www.neowin.net - not something longer. I think you are talking about redirection here (cheap ISP and domain packages use it).

Also, it's more than likely that the forums ARE located at www.neowin.net/forums.

  • 0

DNS records and a webserver control this together. The DNS records say that this name (say, as in your example www.neowin.net) is located at this IP address (say 123.456.789.0). So any request for www.neowin.net gets transferred to that IP. This is where the webserver software comes and takes over. In the configuration of the webserver (in the case of a non-dedicated, shared server), it has definitions of Virtual Hosts. These are similar to the DNS records, but they say that a request for neowin.net is located in this directory on the webserver (say, /home/neowin/www/). So, a request for www.neowin.net/forums/ after it's all said and done would get transferred to IP 123.456.789.0 which would then translate that to be located at /home/neowin/www/forums/ on the server.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.