Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I would like to forward anyone going to to this new address (note a different domain AND different port PLUS a subdirectory)

Is it possible in a web host (such as Bluehost) using cPanel DNS Editor or some form of URL redirection with port redirect included?

share|improve this question

1 Answer 1

It depends if Bluehost allows port redirection using an .htaccess file, try this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{SERVER_PORT} ^8014$
RewriteRule ^(.*)$$1 [R=301,L]
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.