[Help]I was redirected to main website or ip address

Discussion in 'General' started by Joey Devs, Jan 11, 2018.

  1. Joey Devs

    Joey Devs Member

    Ubuntu 16.04
    Apache server
    Ispconfig 3.1.10
    I was redirected to main website or ip address when I visit my website without www but when www it's fine?
    Example mainwebsite.com (main ip address) (site 1)
    Scenario 1. site2.com when I browse www.site1.com it's ok but when I browse non www it redirected to mainwebsite.com(main ip).
    Same with website 3.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I did not understand much what you wrote, but hazard a guess: Check each website has * in the IPv4-Address field.
     

Share This Page