Jump to content

Adding New Domain To Site


Recommended Posts

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

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

×
×
  • Create New...