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 9200949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:53:13+00:00 2026-06-17T22:53:13+00:00

I am using Open Suse. I am new to it and web servers (and

  • 0

I am using Open Suse. I am new to it and web servers (and StackOverFlow too).

There is a apache2 in the etc directory and xyz.xyz.xyz returns “It works!”.
Also xyz.xyz.xyz:5000 currently returns a webpage. I have modified the page and want to host it.

Problem:
How do I configure the apache server to create a port for me?
What files do I need to modify (httpd.conf?)? And will I need super user access?
Thanks

  • 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-17T22:53:14+00:00Added an answer on June 17, 2026 at 10:53 pm

    OpenSUSE may have a different layout for configuration files, but what you are looking for is a VirtualHost directive which is setup to read port 5000. (Apache docs on VirtualHosts)

    This may be inside httpd.conf, or it may be in another file inside /etc/apache2 which ends also in .conf. You will find the port 5000 setup looking something like:

    <VirtualHost *:5000>
      DocumentRoot /path/to/index/dir
      ... Other stuff...
    </VirtualHost>
    

    To create a VirtualHost which listens on a different port than 5000, just copy the entire <VirtualHost>...</VirtualHost> block and change both the port number, and the DocumentRoot to point to the place on your filesystem which will hold your other vhost’s files. You will also need a Listen *:port_number directive to cause Apache to take over the port.

    For example, to add a vhost on 5001, do:

    # Instructs apache to use this port
    Listen *:5001
    
    # Instructs apache to route requests on this port to a specific directory
    <VirtualHost *:5001>
      DocumentRoot /path/to/index/dir
      ... Other stuff...
    </VirtualHost>
    

    You will need to restart Apache after this.

    /etc/init.d/apache2 restart
    

    Note that you will need superuser access to do modify the httpd.conf file, and to restart Apache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using open/read functions, there's feof for fopen/fread to detect end-of-file, what's the
i'm using an open api which works with session ids. A little background: A
I have the Android SDK installed on both a Linux machine using open SuSE
I'm new to using open source libraries in production code so when it says
I want to open a document file using Open Xml Open Method, search for
I would like to open a file using open file dialog. If the opened
I'm just doing a simple graph using Open Flash Chart http://teethgrinder.co.uk/open-flash-chart/ which shows the
I would like to open 2 url's using open $url = 'http://xtreme-jumps.eu/demos.txt'; $url2 =
Hi I just define my custom action on facebook using open graph. After creating
I am using an open source .Net library which uses MSMQ underneath. After about

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.