Link to home
Start Free TrialLog in
Avatar of dr_lionheart
dr_lionheartFlag for United States of America

asked on

i got cgi-sys/defaultwebpage.cgi after i change the ip address of my domain

i have my own linux server and i have many sites on it
i have changed the ip address of some somains
www.7ammil.com
www.9or.cc
www.risemyweb.com

after i changed the ip address i have been redirected to something like
http://www.7ammil.com/cgi-sys/defaultwebpage.cgi

I have cleard the cahe in browser but i got the same page
please help me wit this

thanks
Avatar of farzanj
farzanj
Flag of Canada image

So if I enter URL
www.7ammil.com

Which page do you want it to go to?

Do you have "ScriptAlias" in your httpd.conf  (Apache configuration file)?  If so please show it to me.
Did you create any RewriteRule?  If so, please show it to me
Avatar of dr_lionheart

ASKER

i am not an expert with servers
every thing was working fine until i gave these domains a new dedicated ip from the whm panel

i noticed also that the domain is woking without www
http://7ammil.com

every other page in the sites are working except the home page
working
http://www.7ammil.com/index.php/
this is redirecting
http://www.7ammil.com
If I understand you correctly, this is how it is supposed to be working.

When you open a website, you are supposed to load an index file.  It works though the tag or option Indexes.  This option tells which page it is supposed to load when you go to the URL, which only tells the address of a default folder.  This default folder is written in the DocumentRoot.  Apache is supposed to look for an index file in your document root.  As I said these files are specified by the Indexes option.
and where can i find these indexes option
It is in your Apache configuration file.  Try finding it through whm. Normally it looks for index.html, index.php, index.cgi, etc. files.  If it finds one of these files in the DocumentRoot folder, it loads it.
i went to the DirectoryIndex Priority
i found all the known indexes are specified
Yes.  This is the way it is supposed to be.  As I said, to me everything appears working right as it should be.

I am sorry but I really don't understand what you are looking for.  All the behavior you told me is completely normal.  If I am missing something, please let me know.  If not, I think everything is great.
did you got the cgi-sys/defaultwebpage.cgi when you opened the sites??
I entered http://www.7ammil.com/

And I got the same.

I did not get cgi-sys/defaultwebpage.cgi

If you want me to get that, you will need to create a ScriptAlias
if you did not get that
good
this is what i want
may it takes sometime after everything returns to normal
Avatar of shaunak
shaunak

Check the user privileges for the IP usage. The IP which you are assigning might be delegated / dedicated / shared with some one else.
how to check for that??
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks the help