Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2001
    Location
    Sydney Australia
    Posts
    48

    Browsing web site using IP Address

    Hi,

    I have a customer (and I dare say there will be more) that has setup his internal network with his domain name.

    When he browses for his web site he goes to www.domain.com and gets his own server.

    On Raq4, what would be the address to go to for him to browse his site?

    xxx.xxx.xxx.xxx/????????

    Tried searching but couldn't find anything on this.

  2. #2
    Join Date
    Mar 2001
    Location
    Ireland
    Posts
    1,354
    I'm not 100% sure I understand the question, but here goes..

    If you have set up the domain on the RAQ properly, then the www.somedomain.com would be www.somedomain.com

    However, if you are talking about previewing a client's site before DNS propagation, then it's a different matter.
    Blacknight
    ICANN accredited domain registrar

  3. #3
    Join Date
    Sep 2001
    Location
    Sydney Australia
    Posts
    48
    It will be pretty much like previewing a customers site before propegation.

    Basically when the customer types into his browser www.hisdomain.com it brings up his internal intranet site I guess you would call it. Because his W2k server's domain is hisdomain.com his browser goes there and does not even look at my server.

    He needs to basically point his browser at my server some how to view his site.

    e.g. [ip address]/hisdomain
    or www.mydomain.com/~www.hisdomain.com

    something like that.

    Grant

  4. #4
    Join Date
    Sep 2001
    Location
    Sydney Australia
    Posts
    48
    Ok,

    Fixed it.

    I found the tread on viewing before propogation.

    add
    AliasMatch ^/preview/([^/]+)(/(.*))? /home/sites/$1/web/$3

    in /etc/httpd/conf/httpd.conf

    put this where your main domain name is

    then all new sites can also be viewd at

    http://www.domain.com/preview/www.clientdomain.com

    (in the thread before this it forgot to mention restarting httpd)

    Works a treat

    Thanks anyway.
    Grant

  5. #5
    Join Date
    Mar 2001
    Location
    Ireland
    Posts
    1,354
    Glad you found that.
    Blacknight
    ICANN accredited domain registrar

  6. #6
    Join Date
    May 2002
    Location
    London UK redbus
    Posts
    74
    Glade to see your makeing use of my code

    Originally posted by WebWorx
    Ok,

    Fixed it.

    I found the tread on viewing before propogation.

    add
    AliasMatch ^/preview/([^/]+)(/(.*))? /home/sites/$1/web/$3

    in /etc/httpd/conf/httpd.conf

    put this where your main domain name is

    then all new sites can also be viewd at

    http://www.domain.com/preview/www.clientdomain.com

    (in the thread before this it forgot to mention restarting httpd)

    Works a treat

    Thanks anyway.
    Grant

  7. #7
    Join Date
    Sep 2001
    Location
    Sydney Australia
    Posts
    48
    And what a nice piece of code it is Cobalt.

    (I did make reference to the fact it was from another thread, just didn't mention it was from you. )

    Thanks for the help anyway.

    G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •