+ Reply to Thread
Results 1 to 4 of 4

Thread: Cloak url

  1. #1
    Junior Member bangkak is on a distinguished road bangkak's Avatar
    Join Date
    Mar 2011
    Location
    I love Indonesia.
    Posts
    8

    Question Cloak url

    How to forward mydomain.com to www.mydomain.com? plz help me

  2. #2
    Administrator Linas is on a distinguished road Linas's Avatar
    Join Date
    Feb 2011
    Posts
    430

    Re: Cloak url

    If you have added the domain when registering or after registration through DirectAdmin, it already includes aliases for the www. part

  3. #3
    Member requnix is on a distinguished road requnix's Avatar
    Join Date
    Apr 2011
    Location
    Bali
    Posts
    30

    Re: Cloak url

    Do you mean forcing visitors to access www.mydomain.com instead of mydomain.com ?

    I'm not good at using .htaccess, but it can be done with php. You can check the domain your visitor accessing by using $_SERVER['SERVER_NAME'].

    Hope this helps.

  4. #4
    Junior Member bangkak is on a distinguished road bangkak's Avatar
    Join Date
    Mar 2011
    Location
    I love Indonesia.
    Posts
    8

    Re: Cloak url

    just auto forward mydomain.com to www.mydomain.com. My site cannot auto forward to www since Box5 Maintenance yesterday.

+ Reply to Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34