on the web host my index.phtml is under: webhost_home\myproject\pub
and i have a domain with name: www. domainname.com
after i set the dns of my web host in domain server, i can open my project under url: http://www.domainname.com/myproject/public
the question is:
1: how do i open my project direct under: http://www.domainname.com
should i define the path somewhere.
2: the project is a zend project. if i input url
in browser now, i can even see the file content displayed in brower, the url http://www.domainname.com/myproject/
also shows the project file under folder myproject. It should not be happened. So i input a index.phtml under the web hosting root, and also webhosting_home/myproject and webhosting_home/myproject/
. but i don't think this is the right way to resolve the problem. any suggestion? btw, the .htaccess is not allowed to put in web host.
following are some information about my domain and web hosting:
on the site of web hosting they said that the path of my web hosting is: /home/vhosts/www.xxx.com
on the site of domain they said the path of my domain is: /homepages/11/x11/htdocs/.
and Domain ist inclusiv-Domain.