Jump to content

built before nameservers moved - cant change path


Himbo

Recommended Posts

Hey all :-)
I built my shop before I moved my nameservers, simply because I was changing servers and was fed up with oscommerce so I thought I would give PS a look, loving it so far. :-)
I have now moved my nameservers across, however it is still showing in the subfolder that my hosting is named,
for example :
File not found
Firefox can't find the file at http://69.69.69.69/. but it does find it at http://69.69.69.69/~myhostingaccount/

Anyone tell me how to fix this please? I have tried Continue editing settings.inc.php and Back Office >> Preferences

Link to comment
Share on other sites

Hey all :-)
I built my shop before I moved my nameservers, simply because I was changing servers and was fed up with oscommerce so I thought I would give PS a look, loving it so far. :-)
I have now moved my nameservers across, however it is still showing in the subfolder that my hosting is named,
for example :
File not found
Firefox can't find the file at http://69.69.69.69/. but it does find it at http://69.69.69.69/~myhostingaccount/

Anyone tell me how to fix this please? I have tried Continue editing settings.inc.php and Back Office >> Preferences


Does your new hosting provider allow for virtual hosted domains? You should speak with them to get that put in and they should take care of that right away.

If you have to put the entry in yourself (some companies allow VPS with root access) look for your httpd.conf file and put this in at the bottom:


ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /path/to/www/files
ErrorLog /path/to/log/files/httpd/domain_error
CustomLog /path/to/log/files/httpd/domain_access combined
ServerAdmin [email protected]


Restart the apache server process, and you should be good to go.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...