Subdomain redirects to defaultwebpage.cgi


luizhrqas
Asked:
2013-07-08 1:52 pm EST

Hits: 2,376
Hello, Inmotion!

I created a A record called paperashoes on my domain criacaodesite.pro.br, appointing to the IP of my VPS server 70.39.235.229.

If i ping to paperashoes.criacaodesite.pro.br, it works.

I created too a subdomain on the cPanel.

But when i try to access the paperashoes.criacaodesite.pro.br, the browser redirect me to the defaultwebpage.cgi.

I cleared the DNS cache from my machine, and still doesn't works.

I find some solutions on the web, to solves this, but i need to do SSH access. But when i try to do SSH access in my PUTTY with the host, 70.39.235.229, him returns "Connection timed out".

Someone can help me with this?

Thanks.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,968 Points
2013-07-08 2:06 pm EST
Hello luizhrqas, and thanks for your question.

I'm not currently seeing the issues you've described, this is what I currently see:

On your criacaodesite.pro.br website, there is a subdomain of papera.criacaodesite.pro.br setup, going there pulls up the same content as the main site, since it's pointed at the same /public_html/ directory.

You have a separate cPanel account of papera setup, and this has the domain paperashoes.com.br hosted under it. This seems to pull up as expected without a default server page.

The paperashoes.criacaodesite.pro.br address is going to pull up the the default server page, as it doesn't physically exist as anything on your server.

Please let us know if you're still experiencing any issues at all.

- Jacob

You must login before you can post a comment about this answer.

Hello, Jacob!

I created the paperashoes.criacaodesite.pro.br subdomain on cPanel.

If i access this on browser: http://paperashoes.criacaodesite.pro.br/, it shows de default server page.

On my DNS Manager, i created an A record called paperashoes, to the IP of criacaodesite.pro.br. But it still shows the default server page.

The domain paperashoes.com.br will be appointed to the paperashoes.criacaodesite.pro.br, understand? But to this, i need to the subdomain works.

Thank you for the reply, but the problem still exists.
luizhrqas
16 Points
2013-07-08 2:56 pm EST
Hello luizhrqas,

Because you've now created the correct sub-domain it is displaying properly. However, because previously you had it pointed to a non-existent location that has more than likely been cached by your computer.

Try to add /index.php to the end of the subdomain to force it to pull up that specific file. You might need to wait up to 24 hours for the DNS to fully propagate, but in most cases doing it this way will force your web-browser to resolve the subdomain's DNS entries again.

I'm not sure why you're creating a subdomain on one of your domains, if your end goal is to have the website be hosted under its own unique domain name. As currently the domain name by itself pulls from a completely separate cPanel account than the one setup for the full domain.

Typically if you have a new domain name, you'd just create a new separate cPanel account like you've already done, and then just use the domain name directly instead of using a subdomain on another domain on the server. Otherwise the only thing I can think of is that you just want the domain name for people to easily type in, but then it re-directs them to the subdomain version of the site.

Please let us know if you had any further questions.

- Jacob
JacobIMH
9,968 Points
Staff
2013-07-08 3:58 pm EST
Hello Jacob!

Thanks for you second reply. I put the /index.php, and its worked successfully. Very thanks for the brotip! :D

I will now appoint the domain paperashoes.com.br to the subdomain paperashoes.criacaodesite.pro.br, because on *.criacaodesite.pro.br, runs an CMS multi-site, where the subdomain defines the site, understand?

Very thanks anyway.
luizhrqas
16 Points
2013-07-09 12:59 pm EST
Hello luizhrqas,

No problem, really glad that worked for you!

It does make sense to have you newer domain re-direct to the subdomain if you're using a CMS multi-site off that main domain, so your current setup should work.

If you run into any further issues at all, please let us know!

- Jacob
JacobIMH
9,968 Points
Staff
2013-07-09 3:12 pm EST
Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!