Shaun Wingrin
asked on
Web site name re-write
Say our problem is that when you call www.bobbasandzaidas.co.za it is being redirected to http://a1telecomms.co.za/zeidasandbobbas/
This is by design as our main site is www.a1telecomms.co.za and this site is created in a subdirectory off it.
We using Joomla.
Our provider suggests the following:
"You can provide your web designer with the FTP details available in konsoleH in order for them to access the .htaccess file setup in the public_html folder.
When setting up a 301 Redirect the URL in the address bar will change to the new URL name. We can change both domains to park domains instead of multiple domains. However if we proceed with park domains the domains will only resolve to the domain a1telecomms.co.za. Then you will have to setup a rewrite rule for the domains to resolve to a1telecomms.co.za/zeidasan dbobbas. This way the URL in the address bar will remain the same.
Alternatively we can leave the current setup but then you have to setup a rewrite rule on the website a1telecomms.co.za to change the URL back to the original website name in the address bar. You will have to contact your web designer/developer for more assistance with the rewrite rules. "
Please tell me what code to add or change in this file?
This is by design as our main site is www.a1telecomms.co.za and this site is created in a subdirectory off it.
We using Joomla.
Our provider suggests the following:
"You can provide your web designer with the FTP details available in konsoleH in order for them to access the .htaccess file setup in the public_html folder.
When setting up a 301 Redirect the URL in the address bar will change to the new URL name. We can change both domains to park domains instead of multiple domains. However if we proceed with park domains the domains will only resolve to the domain a1telecomms.co.za. Then you will have to setup a rewrite rule for the domains to resolve to a1telecomms.co.za/zeidasan
Alternatively we can leave the current setup but then you have to setup a rewrite rule on the website a1telecomms.co.za to change the URL back to the original website name in the address bar. You will have to contact your web designer/developer for more assistance with the rewrite rules. "
Please tell me what code to add or change in this file?
I don't see anywhere where you are saying what you want doing different from what currently happens.
ASKER
Sorry, we want that the url will display www.bobbasandzaidas.co.za and not http://a1telecomms.co.za/zeidasandbobbas/
as it currently does.
as it currently does.
create a new vhost modify the http.config
<VirtualHost *:80>
DocumentRoot /www/
ServerName http://a1telecomms.co.za/
# Other directives here
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /www/example2
ServerNamehttp://www.zeidasandbobbas.com/
<VirtualHost *:80>
DocumentRoot /www/
ServerName http://a1telecomms.co.za/
# Other directives here
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /www/example2
ServerNamehttp://www.zeidasandbobbas.com/
ASKER
Its a 3rd party hosted service and cannot access this file....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.