- - - - -

IP Address to my new website


  • Please log in to reply
4 replies to this topic

#1 Hazel Tree

Hazel Tree

    Tiny Orange

  • Members
  • Pip
  • 1 posts

Posted 20 May 2011 - 05:36 PM

Hey! Just signed up with ASO hosting. Haven't had my domain name propagated yet, however I need to test some live PHP on the server. What's the naming convention for shared server space urls? As in: http://xxx.xx.xx.xxx..._html/index.php or so.

Thank you!

/* This issue has been resolved. */

Edited by Hazel Tree, 20 May 2011 - 05:42 PM.


#2 IBBoard

IBBoard

    Massive Orange

  • Volunteer Moderators
  • PipPipPipPipPipPipPip
  • 4,739 posts

Posted 22 May 2011 - 01:36 PM

For future reference:

a) I believe ASO have stopped allowing access as http://ip.add.re.ss/~username/ because it bypassed cPanel's accounting mechanism and let people have free bandwidth
b) If you edit your "hosts" file (/etc/hosts on Linux, c:\Windows\System32\etc\hosts or something similar on WinXP and who knows where on Vista and 7) then you can add in mappings of IP addresses to domains. If your domain name is still propagating, but the server knows that it should be handling requests for that domain (i.e. it is already setup in cPanel) then you can add the mapping to your hosts file and all of your requests for that domain will go to that IP address.

The format of a hosts file is:
1.2.3.256 example.com
to map example.com to the (invalid) IP address 1.2.3.256
The more information you provide, the better answer the community can give.

*** Sign up at ASO  with a 15% discount (coupon: saveme15%) or $5 discount (coupon: saveme$5) ***
(Valid on shared hosting and VPS)

#3 jednorozec

jednorozec

    Eclectical Engineer

  • Volunteer Moderators
  • PipPipPipPipPipPip
  • 1,122 posts

Posted 22 May 2011 - 01:54 PM

It's c:\Windows\System32\drivers\etc\hosts on both XP and 7 with minor differences in case which don't matter because Windows is too backward to be case sensitive.
Join ASO and use a coupon to Save $5 or Save 15%

#4 IBBoard

IBBoard

    Massive Orange

  • Volunteer Moderators
  • PipPipPipPipPipPipPip
  • 4,739 posts

Posted 23 May 2011 - 02:28 PM

Sorry, I was working from memory. There was a vague nagging thought that it might have an extra folder in there somewhere :D I didn't realise they'd managed to actually keep the path consistent, though. That must be a first!
The more information you provide, the better answer the community can give.

*** Sign up at ASO  with a 15% discount (coupon: saveme15%) or $5 discount (coupon: saveme$5) ***
(Valid on shared hosting and VPS)

#5 jednorozec

jednorozec

    Eclectical Engineer

  • Volunteer Moderators
  • PipPipPipPipPipPip
  • 1,122 posts

Posted 23 May 2011 - 06:30 PM

I doubt that it was intentional. It was probably gross negligence on the part of somebody at Microsoft. :P
Join ASO and use a coupon to Save $5 or Save 15%




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users