1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can't access the site through www (wold wide web)

Discussion in 'Apache' started by Sharmeiri, Jul 19, 2021.

  1. #1
    Hello
    I have a website: https://sctch.co.il
    when I try to enter the site through www.sctch.co.il I get a blank page displaying "hello world" in simple small text.
    When I enter the site through https://sctch.co.il or http it is working fine.
    I have tried to search the folder of sctch.co.il inside the htdocd folder. I searched all of the files and folders for "hello world" and couldn't find it.
    I also have another site in the htdocs its URL IS https://scts.co.il. this site is working fine with www. scts.co.il
    I already tried dns record
    SEMrush
     
    Sharmeiri, Jul 19, 2021 IP
    SEMrush
  2. TOWHIDUL FAYSAL

    TOWHIDUL FAYSAL Peon

    Messages:
    10
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    3
    #2
    is this a wordpress site?
     
    TOWHIDUL FAYSAL, Jul 19, 2021 IP
  3. Sharmeiri

    Sharmeiri Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Yes it is
    thanks for the quick response.
     
    Sharmeiri, Jul 19, 2021 IP
  4. TOWHIDUL FAYSAL

    TOWHIDUL FAYSAL Peon

    Messages:
    10
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    3
    #4
    go to .htaccess write code for www redirect


    go to WP dashboard >>>> file manager >>>> .htaccess
     
    TOWHIDUL FAYSAL, Jul 19, 2021 IP
  5. Sharmeiri

    Sharmeiri Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    What code should I write?
     
    Sharmeiri, Jul 19, 2021 IP
  6. TOWHIDUL FAYSAL

    TOWHIDUL FAYSAL Peon

    Messages:
    10
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    3
    #6
    https://docs.google.com/document/d/1f5hNm79ImJkChxeUSQoMGhavwN6WkCzHgNIanDrk2oQ/edit?usp=sharing
     
    TOWHIDUL FAYSAL, Jul 19, 2021 IP
  7. Sharmeiri

    Sharmeiri Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    It didn't seem to work
     
    Sharmeiri, Jul 19, 2021 IP
  8. mmerlinn

    mmerlinn Prominent Member

    Messages:
    2,924
    Likes Received:
    682
    Best Answers:
    7
    Trophy Points:
    320
    #8
    You most likely have an .htaccess issue. Go there and see whether www is enabled. If not, enable it.

    If that does not work, then you must contact your isp because their settings for your account are not correct.
     
    mmerlinn, Jul 19, 2021 IP
  9. Sharmeiri

    Sharmeiri Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #9
    I noticed something else.
    When I bring down the apache server the "hello world" still happen.
    I don't understand why
     
    Sharmeiri, Jul 19, 2021 IP
  10. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    6,818
    Likes Received:
    1,494
    Best Answers:
    26
    Trophy Points:
    425
  11. Sharmeiri

    Sharmeiri Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #11
    thanks for your reply
    I tried that already

    it didn't work
     
    Sharmeiri, Jul 20, 2021 IP
  12. Jeoru

    Jeoru Well-Known Member

    Messages:
    1,114
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #12
    maybe it's a virtualhost issue. check your virtual host setup.
     
    Jeoru, Jul 20, 2021 IP