Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How do I use my domain name to point to a url? eg ...
How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
10-11-2014 3:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I want to use my own domain name to point to a url. For example, by typing mydomain.com/xyz, I would be redirected to xyz.com.
Message 1 of 6
(9,476 Views)
5 REPLIES 5
Re: How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
10-11-2014 4:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You could create a 301 redirect by adding the following to an .htaccess file:
After browsing to mydomain.com/xyz, the URL in the address bar would change to xyz.com. Not sure if that's what you're after or not?
RewriteEngine On
Redirect 301 /xyz http://xyz.com
After browsing to mydomain.com/xyz, the URL in the address bar would change to xyz.com. Not sure if that's what you're after or not?
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 2 of 6
(321 Views)
Re: How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
10-11-2014 6:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Bob,
Tnx for your reply. I want anybody who types www.mydomain.com/xyz to be directed to www.xyz.com. ; I think this is called web forwarding. I want to know in details how this can be done using plusnet as they are maintaining my domain name.
Faramarz
Tnx for your reply. I want anybody who types www.mydomain.com/xyz to be directed to www.xyz.com. ; I think this is called web forwarding. I want to know in details how this can be done using plusnet as they are maintaining my domain name.
Faramarz
Message 3 of 6
(321 Views)
Re: How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
11-11-2014 11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi,
The 301 redirect Bob has provided should allow you to do this in the manner you're looking for. You'd need to create the .htaccess file and upload to your webspace with the relevant directory and domain names replaced.
The 301 redirect Bob has provided should allow you to do this in the manner you're looking for. You'd need to create the .htaccess file and upload to your webspace with the relevant directory and domain names replaced.
Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.
Message 4 of 6
(321 Views)
Re: How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
13-11-2014 9:10 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Chris,
Thank you for your reply. I am new to this. Would you kindly provide step by step instructions for creating and editing the .htaccess file and uploading to my webspace?
Regards,
Faramarz
Thank you for your reply. I am new to this. Would you kindly provide step by step instructions for creating and editing the .htaccess file and uploading to my webspace?
Regards,
Faramarz
Message 5 of 6
(321 Views)
Re: How do I use my domain name to point to a url? eg mydoamin.com/xyz to xyz.com
13-11-2014 10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You need to create a file called '.htaccess' (minus quotes, and notice the '.' at the start') that contains the following (substituting the necessary with your own domain names):
And then upload it to the /htdocs folder on your webspace.
It might help to create a text file containing the above, upload it, and then rename it to '.htaccess' once uploaded.
Also, make sure your FTP client is configured to show hidden files.
RewriteEngine On
Redirect 301 /xyz http://xyz.com
And then upload it to the /htdocs folder on your webspace.
It might help to create a text file containing the above, upload it, and then rename it to '.htaccess' once uploaded.
Also, make sure your FTP client is configured to show hidden files.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 6 of 6
(321 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How do I use my domain name to point to a url? eg ...