Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Subdomain access problem

jabfree30
Posts: 3
Joined: 16 Apr 10
Trust:

Subdomain access problem

Hi everyone. I set-up a subdomain for a new niche. But I have a problem when I access the site.
When I go to "subdomain.domain.com", I got an error page. But if go to "domain.com/subdomain/", the site is working fine.
I'm using wordpress for this subdomain.
Did I miss any step in the set-up process such that I cannot access it through "subdomain.domain.com"?
Or does it really have to be accessed this way "domain.com/subdomain/"?
  • 0
faradina
Posts: 2171
Joined: 01 Jun 09
Trust:
How did you add the subdomain? Have you contacted your web hosting server support about this?
  • 0
jabfree30
Posts: 3
Joined: 16 Apr 10
Trust:
I have not thought of asking my web host. I'll apply a support ticket for this. Thanks for the reminder Fara. I'll update this post once I got a reply from the web hosting company.
  • 0
jabfree30
Posts: 3
Joined: 16 Apr 10
Trust:
Done with this problem. I was instructed by the webhost to clear the local DNS cache in my PC and the cache of my browser. I was advised that the site should be accessible in both ways: "subdomain.domain.com" or "domain.com/subdomain/".
Thanks
  • 0
Site Admin
michellerana
Posts: 2372
Joined: 05 May 09
Trust:
jabfree30 wrote:Done with this problem. I was instructed by the webhost to clear the local DNS cache in my PC and the cache of my browser. I was advised that the site should be accessible in both ways: "subdomain.domain.com" or "domain.com/subdomain/".
Thanks


Thanks for the update :) I'm sure that information will be helpful to other members :)
  • 0
Michelle
Customer Support


=========================

Want a step-by-step training program in affiliate marketing? Affiloblueprint is a "hand-holding" course that will will show you how to build a site, drive traffic to it, and monetize it.

Go to this link to start building your profitable affiliate sites now!
www.affilorama.com/affiloblueprint
 
Site Admin
mikeantiga
Posts: 787
Joined: 28 Mar 10
Trust:
I'm glad that the subdomain issue is now fixed. :) By the way, even though both URLs ('domain.com/subdomain' and 'subdomain.domain.com') are working, you can only use either one of them in WordPress. Another thing, domain.com/subdomain will only work the same way as 'subdomain.domain.com' if the subdomain is mapped directly into a directory inside your default directory (ex. public_html).
  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
PremiumMember
kepeliki
Posts: 44
Joined: 25 Nov 09
Trust:
how to add subdomain on wp with affilorama. as I have some stuff to download to ftp and I want to do it with sub domain. Is that possible or not. Is to do with Free Autoaffiliatex software.
  • 0
Site Admin
cecille.l
Posts: 6999
Joined: 25 Feb 11
Trust:
Hi kepeliki,

You can create a sub-domain in your Premium hosting but this will be a separate site independent from your primary website. To create a sub-directory, please follow the steps below:

1) Login to your Affilora account and proceed to 'Premium Hosting'.
2) Select the domain name in which the subdomain will be created.
3) Click the 'Subdomains' icon under the 'Web Tools' section of the control panel.
4) Enter the subdomain name and the directory to which the subdomain will be mapped into.

As an example, let's say I will create a sub-domain "blog.domain.com" that points to the directory "public_html/myblog". I will type "blog" in the Domain Name field and "myblog" in the 'Directory' field. This will automatically create a 'myblog' folder within the public_html and points the subdomain 'blog.domain.com' to that directory.

You then need to install Wordpress manually by uploading the Wordpress installation files through FTP or File Manager and extracting it on the subdomain. You can then run the install using your browser through the subdomain URL. In my example, Wordpress needs to be installed in "public_html/myblog". You would then need to access the newly created Wordpress blog in the following format: www.domain.com/subdirectory

You also need to login to the admin area (www.domain.com/subdomain/wp-admin) and proceed to the
Settings > General section of the dashboard and change the WordPress address (URL) and Site address (URL) to the subdomain format http://subdomain.domain.com

I hope this helps. Have a good day!
  • 1
Cecille


Step by step guide to "Penguin-proofed" sites : www.affilorama.com/affiloblueprint


Add us on Google Plus: http://www.affilorama.com/googleplus
 

This topic was started on Apr 25, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.

cron