i can't access itunes, appstore, even the website www.apple.com using my wifi
It doesn't look like Apple specific question. It looks more like network setup question. You need to check your router settings. Looks like you have either wrong or missing DNS addresses. If you don't know what it is, call tech support of your internet provider.