Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7759059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:31:52+00:00 2026-06-01T13:31:52+00:00

I have two domains that point to the same IP, which is an Ubuntu

  • 0

I have two domains that point to the same IP, which is an Ubuntu VPS with apache2. I need to server both domains out of apache. I’ve read the config manual at http://httpd.apache.org/docs/2.0/vhosts/examples.html#purename and added the following two files:

1) webikenconsultants

<VirtualHost *:80>
    ServerName www.webikenconsultants.com
    DocumentRoot /var/www/coming_soon
    <Directory  /var/www/coming_soon>
    Order allow,deny
    Allow from all
    </Directory>
</VirtualHost>

2) webikentrading

<VirtualHost *:80>
    ServerName www.webikentrading.net
    #WSGIScriptAlias / /opt/webikentrading/current/src/webikentrading/django.wsgi
    DocumentRoot /var/www
    <Directory /var/www >
    Order allow,deny
    Allow from all
    </Directory>
</VirtualHost>

As you can see, webikentrading is a Django project, but for the time being, just to get things working, I am serving it as a static site, until I figure out what’s going on. The problem is that when I visit either domain, only the coming_soon content shows up, what am I doing wrong??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:31:53+00:00Added an answer on June 1, 2026 at 1:31 pm

    I figured out the problem. The vhost entry points to http://www.webikentrading.net however, the browser was using webikentrading.net so i added a separate entry for just webikentrading.net and all is fine

    EDIT:

    This is quite old, but I have a new and improved way of doing this now and I hope it can help someone else.

    Use the mod_wsgi daemon directive which allows you to add the python path of your choice. Example config is:

    <VirtualHost *:80>
        ServerName qa.webiken.net
        ....
        WSGIDaemonProcess qa.webiken.net processes=2 threads=15 python-path=/usr/local/pythonenv/QA-WEBIKEN-1/lib/python2.5/site-packages display-name=%{GROUP}
        WSGIProcessGroup  qa.webiken.net
    </VirtualHost>
    
    <VirtualHost *:80>
        ServerName staging.webiken.net
        ....
        WSGIDaemonProcess staging.webiken.net processes=2 threads=15 python-path=/usr/local/pythonenv/staging-WEBIKEN-1/lib/python2.5/site-packages display-name=%{GROUP}
        WSGIProcessGroup  staging.webiken.net
    </VirtualHost>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different domains that both point to my homepage in the same
I have two domains: myenglishdomain.com and myfrenchdomain.com. They both point to the same folder
I have two different domains (let's say www.site1.com and www.site2.com) that point to the
I am trying to host two websites using Apache from the same Ubuntu server.
I have two domains, domain1.com and domain2.com pointing at the same asp.net website which
I have two domains - abc.com and xyz.com. I have a CNAME that points
If I have 2 domain names that point to same website (for example: microsoft.com
Because I have two websites on the same server and domain (different folders) and
I have two tables that are considered a single entity in my domain model.
I have two domains declared in my app. class Posts { String title String

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.