Spainman Posted February 27, 2013 Share Posted February 27, 2013 Hi all, I´ve created my shop using the temporary url: http://62.81.159.230/~canicoba I have registed the domain name I want to use which is www.reposteriacanicoba.com How do I change this? It´s done through .htaccess file right? Below is a copy of mine, if someone can give me a hand.. <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^62.81.159.230$ RewriteRule . - [E=REWRITEBASE:/~canicoba/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /~canicoba/index.php?controller=404 Regards. Link to comment Share on other sites More sharing options...
El Patron Posted February 27, 2013 Share Posted February 27, 2013 if you now have a domain name, then you set the dns via the name server(s), the name servers have the IP address you don't need to do anything in the .htaccess you can also contact your hosting company for assistance.. 1 Link to comment Share on other sites More sharing options...
vekia Posted February 28, 2013 Share Posted February 28, 2013 you have to edit DNS entries for you domain, exactly as elpatron said. if you've got webservice control panel like cpanel / directadmin you can do it, just add new "parked" domain and redirect it to your website Link to comment Share on other sites More sharing options...
Spainman Posted February 28, 2013 Author Share Posted February 28, 2013 Thanks elpatron and vekia for the replies. I´ve spoken with my hosting company and they are not "that" helpful. They say I have to map the domain myself. Also, they were the ones that told me the .htaccess should not have any mention of the old temporary url (which it currently does) and replace it with the new one. Is this correct? If so, how do I edit the .htaccess file as mentioned in my first post? Thanks again. Link to comment Share on other sites More sharing options...
El Patron Posted February 28, 2013 Share Posted February 28, 2013 if there were .htaccess changes, that we knew of, we would have shared them... so outside of prestashop (as this is not really the best forurm for dns) , find out how to create you dns name servers associated to your ip address Link to comment Share on other sites More sharing options...
Recommended Posts